Re: A makefile with a mix of gcc and g++

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

 



On 12 April 2011 14:14, Mahmood Naderan wrote:
>
>>If your application is *pure* C then you can't use C++, so I'm not
>>sure what you mean.
>
> I meant that in a pure .c, I want to use STL. For example "#include <vector>"
> and use it.

OK, but if you do that, it's not a C file, so calling it "pure C" or a
"pure .c" is just confusing.

It's a C++ file, with the wrong file extension, it's not "pure C"


If you take a bottle of wine and pour sewage in it, it's not pure wine
just because it says "wine" on the label!



[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