On Mon, 7 Feb 2005 19:03:06 +0200
"John Tsiombikas (Nuclear / the Lab)" <[EMAIL PROTECTED]> wrote:

> On Mon, Feb 07, 2005 at 05:20:18PM +0100, Attila Kinali wrote:
> > Use g++ to compile the c code too.
> > Cleanly written C99 code should compile with a c++ compiler too.
> 
> That's not true, C is *not* a subset of C++
> just an example from the top of my mind:

I know this very well. But you can write C code that it's
also valid C++ code. 

> struct foo {int bar;} foo;
> foo.bar;
> 
> The only "correct" solution is to explicitly make the C code in the
> project, C++ code. Change the filenames, fix any problems,  and treat
> them as C++ when writing new code (see my patch in the same thread).

Same thing.

                                Attila Kinali

-- 
éãåããéãåã
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to