This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17655] g++ getting SEGFAULT compilling the code with HUGE_VAL comparasions
- From: "programm at metrocom dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2004 18:23:47 -0000
- Subject: [Bug c++/17655] g++ getting SEGFAULT compilling the code with HUGE_VAL comparasions
- References: <20040924154023.17655.programm@metrocom.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From programm at metrocom dot ru 2004-09-24 18:23 -------
To pinskia@gcc.gnu.org:
1) I've removed 'extern "C"' in my test source, but the compiler gets
SEGFAULT again. I also have tried to replace 'extern "C"' by 'include <cmath>'
construction. Nothing changes.
2) It seems to me, I not only can but I even must wrap C-library
include files by 'extern "C"'. (?) 3-rd edition of Straustrup's book
recommends it in 9.2.2 section. Have I mistaken?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17655