[gambit-list] Building loadable library

Alex Queiroz asandroq at gmail.com
Thu May 12 09:36:44 EDT 2011


Hallo,

On Thu, May 12, 2011 at 9:56 AM, Marc Feeley <feeley at 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/



More information about the Gambit-list mailing list