[Bug libstdc++/51146] The name clog for a global variable triggers a segfault inside std::pow

alpha_lc at hotmail dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 15 20:13:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146

--- Comment #2 from alpha_lc at hotmail dot com 2011-11-15 19:56:15 UTC ---
(In reply to comment #1)
> Well the issue is clog is a C99 name for complex log.  I don't have my C++
> standard in front of me but I do know some names are reserved even at the top
> level.

In case it helps on that side, I've asked a VC++ user to try this code and it
worked perfectly.



More information about the Gcc-bugs mailing list