delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/19/17:03:02

From: "Ingo Ruhnke" <ruhnke AT owl-online DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: nested commtents
Date: 19 Oct 1997 19:22:05 GMT
Organization: Telemedia News Server
Lines: 27
Message-ID: <01bcdcc9$87bed8e0$0200a8c0@ingo>
References: <62786d$102$1 AT nz12 DOT rz DOT uni-karlsruhe DOT de>
NNTP-Posting-Host: gtso-m71-251.pool.mediaways.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ralf Haueisen <ubas AT rzstud1 DOT rz DOT uni-karlsruhe DOT de> schrieb im Beitrag 

> A few days ago I donwloaded djgcc, but neither RHIDE nor GCC accepted
> /* comment /* comment */ comment */. The last comment was treated as
> code. I searched for any settings but did not found. Maybe someone can
help
> me.

This is because comments in comments are forbidden in ANSI-C. If you want
have a part of your source disabled whitch has comments try something like
that:

#if 0
  /* comment */
  [source]
#endif

for more detailed informations watch the de.comp.lang.c-FAQ at
http://www-info2.informatik.uni-wuerzburg.de/dclc-faq/ , sorry but this is
only the german one, because i don't know were the english FAQ is located.

Ingo

-- 
Ingo Ruhnke
ruhnke AT owl-online DOT de
http://www.geocities/SiliconValley/Horizon/2159

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019