| delorie.com/archives/browse.cgi | search |
| Xref: | news-dnh.mv.net comp.os.msdos.djgpp:556 |
| Path: | news-dnh.mv.net!mv!news.sprintlink.net!cam.news.pipex.net!pipex!soap.news.pipex.net!pipex!edi.news.pipex.net!pipex!demon!chocolat.demon.co.uk!PS |
| From: | Paul Shirley <PS AT chocolat DOT demon DOT co DOT uk> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: c++ comments |
| Date: | Fri, 23 Jun 95 16:42:36 GMT |
| Organization: | a loose end. |
| Lines: | 27 |
| References: | <Pine DOT SUN DOT 3 DOT 91 DOT 950623085435 DOT 2031A-100000 AT physics DOT ubc DOT ca> |
| Reply-To: | PS AT chocolat DOT demon DOT co DOT uk |
| To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
| Dj-Gateway: | from newsgroup comp.os.msdos.djgpp |
schwerdt AT physics DOT ubc DOT ca "C. Schwerdtfeger" writes:
;)Hi,
;)Your note about the // comment lines sounded almost too good to be
;)true. I'm probably not doing the right thing but
;) gcc -c -comments-c++ my.c
;)only gets me an 'unrecognized option' reply.
...arrrrrggggghhhhhh!
Of course I use this on a different version of djgpp (hacked to death...)
There is an option but I can't remember it! Instead edit your
lib/specs file to look like this:-
*cpp:
%{posix:-D_POSIX_SOURCE} -lang-c-c++-comments
...and from now on C++ comments are legal...
(Time the FSF *finally* made their *&#$ minds up about this...;)
--
Paul Shirley: SemiProfessional Coffee & Chocolate Taster
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |