You might use GCC's file-suffix conventions:
C++: .C .cc .cp .cpp .CPP .cxx .c++
Objective-C: .m
Objective-C++: .M .mm
Suffixes for other languages (e.g. Fortran) can be found by searching for "file name suffix" within gcc's man page.
-- Matt
Hallo,
There is also .mm for Objective-C++ and .C for C++, but I guess
On Thu, May 12, 2011 at 9:56 AM, Marc Feeley <feeley@iro.umontreal.ca> wrote:
>
>>
>> I realized it was treating the .cpp file as a scheme file and failing.
>> Is this a bug or am I using it incorrectly?
>
> The command-line processing of gsc treats files with a ".c" extension as C source files and other extensions as Scheme files. This is probably too conservative. I could add ".cpp" and ".cc" and ".m" as alternatives for C source files. Any others I should add?
>
nobody uses the latter anymore (I used to).
--
-alex
http://www.artisancoder.com/
_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list