delorie.com/archives/browse.cgi | search |
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:581 |
Path: | news-dnh.mv.net!mv!news.sprintlink.net!demon!plug.news.pipex.net!pipex!edi.news.pipex.net!pipex!sunic!sunic.sunet.se!news.uni-c.dk!diku.dk!terra |
From: | terra AT diku DOT dk (Morten Welinder) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: c++ comments |
Date: | 23 Jun 1995 19:07:35 GMT |
Organization: | Department of Computer Science, U of Copenhagen |
Lines: | 25 |
Sender: | terra AT tyr DOT diku DOT dk |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 950623085435 DOT 2031A-100000 AT physics DOT ubc DOT ca> <803925756snz AT chocolat DOT demon DOT co DOT uk> |
Nntp-Posting-Host: | odin.diku.dk |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp |
Paul Shirley <PS AT chocolat DOT demon DOT co DOT uk> writes: >*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...;) No, it's not. It's a really bad idea since it may change the semantics of a program. void main () { printf ("%d\n", 10 //* 2 // 1 */ ); } This program should print 10, not 5. Morten
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |