[Botan-devel] Build error on MacOS X

Chris Garrett cgarrett at degarrah.com
Mon May 23 12:02:06 EDT 2005


I get:   
     error: integer constant is too large for 'long' type

when building on MacOS X 10.4.1 / gcc 4.0.0

Here is  a portion of the build log:

c++ -Ibuild/include -O2 -finline-functions -mpowerpc -mcpu=740 
-D_REENTRANT -ansi -Wno-long-long -W -Wall -fPIC -c src/der_enc.cpp -o 
build/lib/der_enc.o
c++ -Ibuild/include -O2 -finline-functions -mpowerpc -mcpu=740 
-D_REENTRANT -ansi -Wno-long-long -W -Wall -fPIC -c src/des.cpp -o 
build/lib/des.o
c++ -Ibuild/include -O2 -finline-functions -mpowerpc -mcpu=740 
-D_REENTRANT -ansi -Wno-long-long -W -Wall -fPIC -c src/des_tab.cpp -o 
build/lib/des_tab.o
src/des_tab.cpp:371: error: integer constant is too large for 'long' type
src/des_tab.cpp:371: error: integer constant is too large for 'long' type
src/des_tab.cpp:372: error: integer constant is too large for 'long' type
src/des_tab.cpp:372: error: integer constant is too large for 'long' type

Thank you

Chris




More information about the botan-devel mailing list