This is the mail archive of the gcc-help@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: Is there something like extern "CPP" ?


On 27 May 2014 14:48, Ian Lance Taylor wrote:
> On Tue, May 27, 2014 at 2:39 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
>>
>> Then your only option is to rename the files to use an extension that
>> GCC recognises as C++, such as .cc, .C, .cpp etc.
>
> You can use the -x c++ option to tell GCC to compile .c files as C++.

But not if "Command lines options are unfortunately not workable for
me..." as stated.


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