[OpendTect_Developers] Compile OD with Mac OSX 10.9 (clang/llvm)
David d'Angelo
david.d-angelo at iais.fraunhofer.de
Tue Oct 29 13:22:05 CET 2013
Hi folks,
I tried to compile OpendTect with Mac OSX 10.9 (Mavericks) and found the
following minor issues:
1. The autogenerated file *include/basic/svnversion.h* should define
some int as version number. If it is empty, the clang compiler will
complain at *src/basic/genc.c:407* that the function must return an int.
2. Missing include of <cstdlib> in*src/Basic/cubesampling.cc*.
3. Missing include of <unistd.h> in *src/Basic/file.cc*
4. Missing include of <unistd.h> in *src/Basic/odinst.cc*
The file *src/Basic/strmprov.cc *uses gcc dependent *template
__gnu_cxx::stdio_filebuf<char>*, which obviously does not exist in the
clang/llvm framework. Are there any plans to exchange this to a platform
independent implementation like *Boost.Iostreams*?
Any patch for this would be highly appreciated.
Best regards,
David
--
David d'Angelo, M. Sc.
Adaptive Reflective Teams
Fraunhofer IAIS
Schloss Birlinghoven
53757 Sankt Augustin
Germany
Fon: +49 (0) 2241 14 3444
Fax: +49 (0) 2241 14 2040
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendtect.org/pipermail/developers/attachments/20131029/73d4c364/attachment.html>
More information about the Developers
mailing list