Changes between Version 40 and Version 41 of current-issues


Ignore:
Timestamp:
Oct 29, 2013 5:59:34 AM (6 years ago)
Author:
kelman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • current-issues

    v40 v41  
    9797 * When compiling on gcc/g++ where the machine word size/pointer size is the same as long long only (e.g. MinGW gcc for 64 bit Windows), the compiler may abort with an '''"ISO C++ 1998 does not support 'long long'" error''' for some files. This seem to be because of the -pedantic-errors flag used with the compilation. To work around this, add  {{{-Wno-long-long}}} to your {{{ADD_CXXFLAGS}}}. 
    9898
     99 * On '''MacOS X 10.9''', the default C++ standard library used by the Xcode compilers has changed to libc++ (LLVM/clang), rather than libstdc++ (GNU). This can cause strange link errors when linking C++ code into C or Fortran libraries or executables. The errors may be of the form "Undefined symbols for architecture x86_64" for many symbols that begin with {{{std::__1::}}}, which should be coming from libc++. BuildTools currently assumes the default C++ library is libstdc++ in most cases, [https://projects.coin-or.org/BuildTools/changeset/3045 this patch] will fix the issue but may take some time to be ready for release. There are two workarounds: either let BuildTools know that the C++ standard library is libc++ by configuring with {{{CXXLIBS=-lc++}}}, or tell the clang++ compiler to use libstdc++ as its standard library by configuring with {{{ADD_CXXFLAGS="-stdlib=libstdc++"}}}.
     100
    99101== Execution ==
    100102