Re: Strange behaviour in derived class when using -std=c++0x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Axel Freyn <axel-freyn@xxxxxx> writes:

> Nevertheless, I haven't checked what the standards of C++ and C++0x say
> about "errno", but probably the compiler is right...

The standard says that "errno" is a macro defined in <errno.h>, a macro
"which expands to a modifiable lvalue."  If you #include <errno.h> it's
unwise to use errno as an identifier name.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux