[Prev][Next][Index]

Re: Do we really need a C++ compiler to use Sage++ ?



>I have modified the Makefiles of your demo programs so that they 

> only invoke C compiler. The result looks OK. Am I generally correct  
>? 


Hmm, that's interesting. You must have a pretty smart C compiler. For  
example, all demos include the following:

#include "sage++user.h"

this file contains itself some C++ specific code, such as forward  
class declarations, and includes libSage++.h which is written in C++. 


Another file that is clearly C++ (and not C) is libSage++.C.

Are you saying that your C compiler compiles those files? Then, I  
would say that it is a de facto C++ compiler. 

                                            --Beata