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]

extern c in cpp file`


Hi all,

I was wondering what the consequences were (if any) of declaring a function as
extern "C" in a header file, and then implementing it in a cpp module.  It seems
to compile file, but I was wondering if there are any unintended consequences?

Thanks,

Yamin

----------------------------------------
This mail sent through www.mywaterloo.ca


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