12 Mai
2011
12 Mai
'11
13:36
Hallo, 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?
There is also .mm for Objective-C++ and .C for C++, but I guess nobody uses the latter anymore (I used to). -- -alex http://www.artisancoder.com/