* strtoull undeclared in namespace std
@ 2003-09-23 1:04 Wei Qin
0 siblings, 0 replies; 2+ messages in thread
From: Wei Qin @ 2003-09-23 1:04 UTC (permalink / raw)
To: gcc-help
Hi,
My code does something like
#include <cstdlib>
...
val = std::strtoull(str, NULL, 0);
It worked fine for a while. But recently
as I began to use g++3.3.1(on cygwin), it breaks with the
error message in the subject. I couldn't find
a portable fix for this problem. Please help.
thanks in advance,
Wei
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: strtoull undeclared in namespace std
@ 2003-09-23 16:48 lrtaylor
0 siblings, 0 replies; 2+ messages in thread
From: lrtaylor @ 2003-09-23 16:48 UTC (permalink / raw)
To: wqin, gcc-help
That's a C library routine. Isn't it rather in the default namespace (::) instead of "std": ::strtoull?
Thanks,
Lyle Taylor
-----Original Message-----
From: Wei Qin [mailto:wqin@EE.Princeton.EDU]
Sent: Monday, September 22, 2003 7:05 PM
To: gcc-help@gcc.gnu.org
Subject: strtoull undeclared in namespace std
Hi,
My code does something like
#include <cstdlib>
...
val = std::strtoull(str, NULL, 0);
It worked fine for a while. But recently
as I began to use g++3.3.1(on cygwin), it breaks with the
error message in the subject. I couldn't find
a portable fix for this problem. Please help.
thanks in advance,
Wei
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-23 16:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-23 1:04 strtoull undeclared in namespace std Wei Qin
2003-09-23 16:48 lrtaylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).