This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [SH] PR 50457 - Add additional atomic models


On Sun, Sep 30, 2012 at 7:23 PM, Kaz Kojima <kkojima@rr.iij4u.or.jp> wrote:
> Oleg Endo <oleg.endo@t-online.de> wrote:
>> The existing .c files are compiled as C++ already.  There was a
>> discussion not long go whether the .c files should be renamed to .cc or
>> not.  If I remember correctly, the conclusion was that existing .c files
>> remain .c, while files newly added should be .cc.  gcc/double-int.c
>> would probably one of the recent examples.
>
> Ah, I've missed that argument.  Then can we use STL classes in .c now?

Yes.

The existing file extensions ".c" do not mean "C" only.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]