Invoke g++ with source.c

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

 



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?

---
Xi Ruoyao
School of Aerospace Science and Technology, Xidian University




[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