C++11 was the first version of C++ to include a long long type, so this doesn’t 
look like a bug.  

David

> On 6 May 2015, at 09:20, Gleb Popov <6year...@gmail.com> wrote:
> 
> Hello. I'm compiling following code
> 
> #include <stdlib.h>
> 
> int main()
> {
> strtoll(0,0,0);
> return 0;
> }
> 
> with -std=c++03 and getting:
> 
> tst.cpp:5:1: error: use of undeclared identifier 'strtoll'
> strtoll(0,0,0);
> ^
> 1 error generated.
> 
> Preprocessing system headers with this flag shows that __LONG_LONG_SUPPORTED
> isn't defined. Is this a bug?
> _______________________________________________
> freebsd-toolchain@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
> To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

_______________________________________________
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to