Re: cons with c++
[email protected] Tue, 25 Jan 2005 13:43:48 -0800
| Newsgroups | gmane.comp.gnu.cons.general |
|---|---|
| Message-ID | <OF3882F04B.40E465F7-ON85256F94.00765D93-88256F94.00777051@philips.com> |
This is a multipart message in MIME format. --===============0149241849== Content-Type: multipart/alternative; boundary="=_alternative 0077704788256F94_=" This is a multipart message in MIME format. --=_alternative 0077704788256F94_= Content-Type: text/plain; charset="US-ASCII" 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 [email protected] Phone: 425-487-7834 Daniel Graupner <[email protected]> Sent by: [email protected] 01/25/2005 01:04 PM To: [email protected] 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. _______________________________________________ [email protected] http://lists.gnu.org/mailman/listinfo/cons-discuss Cons URL: http://www.dsmit.com/cons/ --=_alternative 0077704788256F94_= Content-Type: text/html; charset="US-ASCII" <br><font size=2 face="sans-serif">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.</font> <br><font size=2 face="sans-serif"><br> ---<br> Rick Croote<br> Software Engineer<br> Environment and Tools Team<br> Philips Medical Systems<br> Bothell, WA<br> [email protected]<br> Phone: 425-487-7834<br> </font> <br> <br> <br> <table width=100%> <tr valign=top> <td> <td> <br> <br> <br> <br> <br><font size=1 face="sans-serif"><b>Daniel Graupner <[email protected]></b></font> <p><font size=1 face="sans-serif">Sent by: </font> <br><font size=1 face="sans-serif">[email protected]</font> <p><font size=1 face="sans-serif">01/25/2005 01:04 PM</font> <td><font size=1 face="Arial"> </font> <br><font size=1 face="sans-serif"> To: [email protected]</font> <br><font size=1 face="sans-serif"> cc: (bcc: Rick Croote/ATL-BTL/MS/PHILIPS)</font> <br><font size=1 face="sans-serif"> Subject: cons with c++</font> <p><font size=1 face="sans-serif"> Classification: </font> <br> <br></table> <br> <br> <br><font size=2><tt>Hello,<br> <br> I want to use cons with C++ but have some problems.<br> <br> I divided my C++Classes in *.h and *.cpp files. The *.h includes the class definition, the *.cpp the <br> body of the class and includes the corresponding *.h.<br> <br> In the main program i include the *.h of the class, thats the usual practice I thing. Cons is not <br> able to resolve the class!! Cons does not compile the body of the class...so there are errors with <br> undefined references.<br> <br> Thanks for Help,<br> Daniel.<br> <br> <br> _______________________________________________<br> [email protected]<br> http://lists.gnu.org/mailman/listinfo/cons-discuss<br> Cons URL: http://www.dsmit.com/cons/<br> </tt></font> <br> --=_alternative 0077704788256F94_=-- --===============0149241849== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ [email protected] http://lists.gnu.org/mailman/listinfo/cons-discuss Cons URL: http://www.dsmit.com/cons/ --===============0149241849==--