delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/07/20:18:28

From: mtc AT acsu DOT buffalo DOT edu
Newsgroups: comp.os.msdos.djgpp
Subject: enum and djgpp
Date: Mon, 07 Apr 1997 15:38:40 -0400
Organization: University at Buffalo
Message-ID: <33494D3F.606307FA@cs.buffalo.edu>
NNTP-Posting-Host: ubppp-245-020.ppp-net.buffalo.edu
Mime-Version: 1.0
NNTP-Posting-User: mtc
Lines: 13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

    I am just try to do a simple enum like

    enum constants { false = 0, true = 1};

    This statement which will compile under other compilers will not
with djgpp I get a parse error before false and a missing ';' after
right bracket error. any ideas ?

        thanks

    Michael T Collins

- Raw text -


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