Re: Invoke g++ with source.c

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

 



On 13 March 2017 at 16:20, ryxi@xxxxxxxxxxxxxxxxx wrote:
> Hi,
>
> man 1 g++ said "file.c" is considered unpreprocessed C source file. But in fact g++ would compile it as C++ source. Why does g++ behave this way? Should we make it clear in g++ doc?

It's documented at https://gcc.gnu.org/onlinedocs/gcc/Invoking-G_002b_002b.html



[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