cons-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cons with c++


From: rick . croote
Subject: Re: cons with c++
Date: Tue, 25 Jan 2005 13:43:48 -0800


What you describe, of course, is the common practice, and rest assured Cons has no difficulty compiling C++ code.  Our code base that has exceeded 7000 CPP files, and at least that in H files, for years.  The problem is that you have not provided enough information for us to really help further.  Your statement of undefined references leads me to believe that you have a linked target that is not specifying the expected object files.

---
Rick Croote
Software Engineer
Environment and Tools Team
Philips Medical Systems
Bothell, WA
address@hidden
Phone: 425-487-7834








Daniel Graupner <address@hidden>

Sent by:
address@hidden

01/25/2005 01:04 PM

       
        To:        address@hidden
        cc:        (bcc: Rick Croote/ATL-BTL/MS/PHILIPS)
        Subject:        cons with c++

        Classification:        




Hello,

I want to use cons with C++ but have some problems.

I divided my C++Classes in *.h and *.cpp files. The *.h includes the class definition, the *.cpp the
body of the class and includes the corresponding *.h.

In the main program i include the *.h of the class, thats the usual practice I thing. Cons is not
able to resolve the class!! Cons does not compile the body of the class...so there are errors with
undefined references.

Thanks for Help,
Daniel.


_______________________________________________
address@hidden
http://lists.gnu.org/mailman/listinfo/cons-discuss
Cons URL: http://www.dsmit.com/cons/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]