You might use GCC's file-suffix conventions:<br><br>C++: .C .cc .cp .cpp .CPP .cxx .c++<br>Objective-C: .m<br>Objective-C++: .M .mm<br><br>Suffixes for other languages (e.g. Fortran) can be found by searching for "file name suffix" within gcc's man page.<br>

<br>-- Matt<br><br><br><div class="gmail_quote">On Thu, May 12, 2011 at 9:36 AM, Alex Queiroz <span dir="ltr"><<a href="mailto:asandroq@gmail.com">asandroq@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hallo,<br>
<div class="im"><br>
On Thu, May 12, 2011 at 9:56 AM, Marc Feeley <<a href="mailto:feeley@iro.umontreal.ca">feeley@iro.umontreal.ca</a>> wrote:<br>
><br>
>><br>
>> I realized it was treating the .cpp file as a scheme file and failing.<br>
>> Is this a bug or am I using it incorrectly?<br>
><br>
> 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?<br>


><br>
<br>
</div>     There is also .mm for Objective-C++ and .C for C++, but I guess<br>
nobody uses the latter anymore (I used to).<br>
<font color="#888888"><br>
--<br>
-alex<br>
<a href="http://www.artisancoder.com/" target="_blank">http://www.artisancoder.com/</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</div></div></blockquote></div><br>