Building dirac-1.0.2 on OS X 10.8 (compiler is via XCode-5.1) fails: clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I/sw/include -O3 -Wuninitialized -fexpensive-optimizations -fomit-frame-pointer -minline-all-stringops -falign-functions=4 -pipe -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -Wno-error=unused-private-field -Wno-error=unused-const-variable -mmmx -DHAVE_MMX -c -o wavelet_utils_test.o wavelet_utils_test.cpp In file included from wavelet_utils_test.cpp:39: ./wavelet_utils_test.h:38:9: error: 'WAVELET_UTILS_TEST_H' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard] #ifndef WAVELET_UTILS_TEST_H ^~~~~~~~~~~~~~~~~~~~ ./wavelet_utils_test.h:39:9: note: 'WAVELET_UTILS_H' is defined here; did you mean 'WAVELET_UTILS_TEST_H'? #define WAVELET_UTILS_H ^~~~~~~~~~~~~~~ WAVELET_UTILS_TEST_H 1 error generated. Makefile:325: recipe for target 'wavelet_utils_test.o' failed
Near the beginning of unit_tests/wavelet_utils_test.h is: #ifndef WAVELET_UTILS_TEST_H #define WAVELET_UTILS_H Looks like an editing mistake, unchanged text from when the file was created by copying from some other header. Instead, the #define should match the #ifndef: #ifndef WAVELET_UTILS_TEST_H #define WAVELET_UTILS_TEST_H dan -- Daniel Macks dma...@netspace.org ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Schrodinger-devel mailing list Schrodinger-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/schrodinger-devel