Hi-

I am trying to build from source firebird 2.5. I am intersted in using
gpre with cobol.

I use ./configure -with-gpre-cobol -with-system-icu

I get past configure but then run into these errors when trying to use
the command make.

Please let me know if there is anything I can do to get past these
errors. Hopefully it is something silly I am doing.

thx. very much- jim

../src/common/classes/alloc.cpp:2127:7: error: declaration of ‘void* operator 
new(size_t) throw (std::bad_alloc)’ has a different exception specifier
 void* operator new(size_t s) THROW_BAD_ALLOC
       ^~~~~~~~
In file included from ../src/common/classes/alloc.cpp:32:0:
../src/include/../common/classes/alloc.h:502:7: note: from previous declaration 
‘void* operator new(std::size_t)’
 void* operator new(size_t s) THROW_BAD_ALLOC;
       ^~~~~~~~
../src/common/classes/alloc.cpp:2131:7: error: declaration of ‘void* operator 
new [](size_t) throw (std::bad_alloc)’ has a different exception specifier
 void* operator new[](size_t s) THROW_BAD_ALLOC
       ^~~~~~~~
In file included from ../src/common/classes/alloc.cpp:32:0:
../src/include/../common/classes/alloc.h:503:7: note: from previous declaration 
‘void* operator new [](std::size_t)’
 void* operator new[](size_t s) THROW_BAD_ALLOC;
       ^~~~~~~~
../gen/make.rules:112: recipe for target '../temp/boot/common/classes/alloc.o' 
failed
make[3]: *** [../temp/boot/common/classes/alloc.o] Error 1
make[3]: Leaving directory '/home/smasher/firebird/Firebird-2.5.7.27050-0/gen'
Makefile:233: recipe for target 'gpre_boot' failed
make[2]: *** [gpre_boot] Error 2
make[2]: Leaving directory '/home/smasher/firebird/Firebird-2.5.7.27050-0/gen'
Makefile:227: recipe for target '../gen/firebird/bin/gpre_static' failed
make[1]: *** [../gen/firebird/bin/gpre_static] Error 2
make[1]: Leaving directory '/home/smasher/firebird/Firebird-2.5.7.27050-0/gen'
Makefile:6: recipe for target 'firebird' failed
make: *** [firebird] Error 2

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to