This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45645] pr44972.C fails with error: ‘__assert_fail’ was not declared in this scope
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2010 17:12:25 -0000
- Subject: [Bug c++/45645] pr44972.C fails with error: ‘__assert_fail’ was not declared in this scope
- References: <bug-45645-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from paolo dot carlini at oracle dot com 2010-09-13 17:12 -------
I agree with Jon: the expansion of assert to __assert_fail, etc, isn't
portable, the testcase should simply use assert.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45645