[Ad-dev] [openAD] #216: MacOS build

OpenAD trac at mcs.anl.gov
Fri May 21 00:34:22 CDT 2010


#216: MacOS build
---------------------------------+------------------------------------------
 Reporter:  utke                 |       Owner:  utke    
     Type:  enhancement          |      Status:  accepted
 Priority:  major                |   Milestone:          
Component:  multiple components  |    Keywords:          
---------------------------------+------------------------------------------

Comment(by utke):

 Replying to [comment:13 utke]:
 > Replying to [comment:4 utke]:
 > > xercesc changes:
 > >
 http://www.hpc.svn.rice.edu/revision.php?repname=xercesc&path=%2F&rev=48
 > error messages are like this:
 > (C++) MacOSPlatformUtils.o
 > MacOSPlatformUtils.cpp: In static member function ‘static long unsigned
 int xercesc_2_8::XMLPlatformUtils::getCurrentMillis()’:
 > MacOSPlatformUtils.cpp:363: error: ‘kUnresolvedCFragSymbolAddress’ was
 not declared in this scope
 > MacOSPlatformUtils.cpp: In static member function ‘static void*
 xercesc_2_8::XMLPlatformUtils::compareAndSwap(void**, const void*, const
 void*)’:
 > MacOSPlatformUtils.cpp:466: error: cast from ‘const void*’ to ‘UInt32’
 loses precision
 > MacOSPlatformUtils.cpp:467: error: cast from ‘const void*’ to ‘UInt32’
 loses precision
 > MacOSPlatformUtils.cpp: In static member function ‘static int
 xercesc_2_8::XMLPlatformUtils::atomicIncrement(int&)’:
 > MacOSPlatformUtils.cpp:485: error: cannot convert ‘long int*’ to
 ‘SInt32*’ for argument ‘1’ to ‘SInt32 IncrementAtomic(SInt32*)’
 > MacOSPlatformUtils.cpp: In static member function ‘static int
 xercesc_2_8::XMLPlatformUtils::atomicDecrement(int&)’:
 > MacOSPlatformUtils.cpp:492: error: cannot convert ‘long int*’ to
 ‘SInt32*’ for argument ‘1’ to ‘SInt32 DecrementAtomic(SInt32*)’
 > MacOSPlatformUtils.cpp: In static member function ‘static void
 xercesc_2_8::XMLPlatformUtils::platformInit()’:
 > MacOSPlatformUtils.cpp:511: error: cannot convert ‘long int*’ to
 ‘SInt32*’ for argument ‘2’ to ‘OSErr Gestalt(OSType, SInt32*)’
 > MacOSPlatformUtils.cpp:516: error: cannot convert ‘long int*’ to
 ‘SInt32*’ for argument ‘2’ to ‘OSErr Gestalt(OSType, SInt32*)’
 > MacOSPlatformUtils.cpp:523: error: ‘kUnresolvedCFragSymbolAddress’ was
 not declared in this scope
 > MacOSPlatformUtils.cpp: In function ‘bool
 xercesc_2_8::XMLParsePathToFSRef_X(const XMLCh*, FSRef&,
 xercesc_2_8::MemoryManager*)’:
 > MacOSPlatformUtils.cpp:840: error: ‘FSMakeFSSpec’ was not declared in
 this scope
 happens with gcc version 4.5.0 20100107 (experimental) (GCC)   (from
 hpc.sourceforge) on 64bit snow leopard

-- 
Ticket URL: <https://trac.mcs.anl.gov/projects/openAD/ticket/216#comment:14>
OpenAD <http://www.mcs.anl.gov/openad>
Bug tracking for OpenAD components


More information about the Ad-dev mailing list