Re: fileno not visible when -std=c++11 is used

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

 



On 7 June 2014 15:51, Arthur Schwarz wrote:
>
> Win7 64-bit
> gcc 4.8.2 (cygwin)
>
> Ref:
> http://stackoverflow.com/questions/14172884/no-fileno-function-in-nuwen-net-
> mingw-distro
>
> The 'fileno' function is not visible when -std=c++11 is used but is visible
> when it is not.

What if you use -std=gnu++11 ?

The default language mode is -std=gnu++98, so by using -std=c++11 you
are changing two things: using the C++11 mode and disabling GNU
extensions.




[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