g++ -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

Looks like they just mis-edited or didn't update the standard single-use guard 
token when copying it from some other file:

#ifndef WAVELET_UTILS_TEST_H
#define WAVELET_UTILS_H

Changing it to be matched:

#ifndef WAVELET_UTILS_TEST_H
#define WAVELET_UTILS_TEST_H

lets it build successfully. 

Filed upstream as:

http://permalink.gmane.org/gmane.comp.video.schroedinger.devel/490

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/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to