cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/02/22:47:39

From: afn03257 AT freenet2 DOT afn DOT org (Daniel P Hudson)
Newsgroups: comp.os.msdos.djgpp
Subject: GCC Bug - Information
Date: 3 Feb 1997 00:50:13 GMT
Lines: 17
Message-ID: <5d3co5$o7p@huron.eel.ufl.edu>
Reply-To: afn03257 AT afn DOT org"Dan"
NNTP-Posting-Host: freenet2.afn.org
NNTP-Posting-User: afn03257
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

     The GNU C preprocessor has a known bug that is present in 2.7.2.1
and probably earlier versions.

EX code.

#include <stdio.h>
#define x 10

int main(void)
{
  printf("%f\n", .x); // should cause a preprocessor error  
  return 0;
}

It is not real important, however it is an ANSI violation some people
may want to look into.

- Raw text -


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