Use of templates in c code?

Alec Teal a.teal@warwick.ac.uk
Wed Feb 13 16:33:00 GMT 2013


On 13/02/13 16:11, Jonathan Wakely wrote:
> On 13 February 2013 15:33, Alec Teal wrote:
>> A few questions, what is this stage 1? (link to documentation please, or a
>> descriptive answer).
> See http://gcc.gnu.org/develop.html
>
>
>> for the choice of file extension, this is really a tiny thing, but I do have
>> a reason for .cpp
>> http://stackoverflow.com/questions/1545080/correct-c-code-file-extension-cc-vs-cpp
>> So I have done some research :P
> Your reason is a question closed as unconstructive, where the top
> answers say it doesn't matter? Why does that support .cpp?
>
> How about using .cc because the existing C++ code in GCC already uses .cc
>
How about scrolling down? It is such a small issue there is no 
definitive answer, the compiler doesn't care, but there is some debate 
on that page.



More information about the Gcc mailing list