GPRE language modules can't be compiled with gcc 4.4.
-----------------------------------------------------
Key: CORE-3486
URL: http://tracker.firebirdsql.org/browse/CORE-3486
Project: Firebird Core
Issue Type: Bug
Affects Versions: 2.5.0
Environment: linux
Reporter: Alexander Peshkov
Priority: Minor
Issue was reported by [email protected] in firebird-devel
I attempted to compile Firebird-2.5.0.26074-0 on a computer with these:
cpu --> AMD64-2 cores
OS -->: cblfs 64-bit linux, kernel-2.6.35 gcc-4.4.2 with ada/gnat, gfortran
If I pass this to configure:-
--with-gpre-ada \
-------------this results from running make:-
../src/gpre/ada.cpp: In function 'void gen_event_init(const act*, int)':
../src/gpre/ada.cpp:1748: error: cast from 'gpre_nod*' to 'int' loses
precision
../src/gpre/ada.cpp: In function 'void gen_event_wait(const act*, int)':
../src/gpre/ada.cpp:1813: error: cast from 'gpre_nod*' to 'int' loses
precision
make[2]: *** [../temp/std/gpre/ada.o] Error 1
----------------
If I pass this to configure:-
--with-gpre-fortran \
-------------this results from running make:-
-c ../src/gpre/ftn.cpp -o ../temp/std/gpre/ftn.o
../src/gpre/ftn.cpp: In function 'void gen_event_init(const act*)':
../src/gpre/ftn.cpp:2125: error: cast from 'gpre_nod*' to 'int' loses
precision
../src/gpre/ftn.cpp: In function 'void gen_event_wait(const act*)':
../src/gpre/ftn.cpp:2200: error: cast from 'gpre_nod*' to 'int' loses
precision
make[2]: *** [../temp/std/gpre/ftn.o] Error 1
----------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel