On 2011-11-29 10:22Z, Csaba Raduly wrote: > On Tue, Nov 29, 2011 at 11:04 AM, Markus Selve wrote: >> >> $ g++ -Wall -o tt tt.cpp >> tt.cpp: In function 'int main(int, char**)': >> tt.cpp:7:9: error: 'strtoull' is not a member of 'std'
The default C++ dialect is based on the 1998 standard, which lacks strtoull() because that function first appeared in C99. > Alas, cstdlib is missing the necessary using directive: [...] > using ::strtod; > using ::strtol; > using ::strtoul; Adding a using-declaration for ::strtoull would be a reasonable extension, as long as '-std=c++98' is not specified. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple