delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/01/07:47:06

From: Forsberg Sakari <zacu AT cc DOT tut DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: What's the idea with ALLEGRO.H's zero-size arrays?
Date: 1 Nov 1999 12:16:32 GMT
Organization: Tampere University of Technology
Lines: 14
Message-ID: <7vk0b0$92j$1@baker.cc.tut.fi>
NNTP-Posting-Host: assari.cc.tut.fi
X-Trace: baker.cc.tut.fi 941458592 9299 130.230.10.21 (1 Nov 1999 12:16:32 GMT)
NNTP-Posting-Date: 1 Nov 1999 12:16:32 GMT
User-Agent: tin/pre-1.4-981225 ("Volcane") (UNIX) (OSF1/V4.0 (alpha))
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi!

I tried to compile my new program with '-pedantic' switch, but
djgpp shows me following data....

djgpp/include/allegro.h:948: warning: ANSI C++ forbids zero-size array `line'
djgpp/include/allegro.h:1498: warning: ANSI C++ forbids zero-size array `dat'

What's the idea with zero-size arrays?

ps. my allegro is latest release, not WIP.

**      Sakari Forsberg zacu AT cc DOT tut DOT fi       **
** Information: finger zacu AT assari DOT cc DOT tut DOT fi **

- Raw text -


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