delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/11/12:57:28

Date: Fri, 11 Oct 1996 16:48:17 -0300
Message-Id: <1.5.4.16.19961011134329.0a370e00@dmeasc.rc.ipt.br>
Mime-Version: 1.0
To: design AT netcom DOT com (Chris Waters), djgpp AT delorie DOT com
From: Cesar Scarpini Rabak <csrabak AT dce03 DOT ipt DOT br>
Subject: Re: Labelled array display element funny

At 11:09 11/10/96 GMT, Chris Waters wrote:
>In article <A8802879BE AT fs2 DOT mt DOT umist DOT ac DOT uk>,
>A.Appleyard <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk> wrote:
>
>>  Why isn't it!? I can't use C; my big program (rather than the above test)
>>also uses classes etc.
>
>I don't know, why don't you ask the people who wrote the compiler rather
>than the people who merely ported it to DOS?  Try gnu.gcc.help, for example.
>
>(Not that I ported it, I'm just a rude 3rd party :)
>
>In any case, since this is an initializer for a (presumably) global data
>element, why don't you put it in a separate file by itself and compile
>just that file as C.
>
>
Or perharps just wrap the declaration with extern "C" ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cesar Scarpini Rabak                      E-mail: csrabak AT ipt DOT br
DME/ASC                                   Phone: 55-11-268-35221Ext.350
IPT - Instituto de Pesquisas Tecnologicas Fax:   55-11-268-5996
Av. Prof. Almeida Prado, 532.  Sao Paulo - SP 05508-901 BRAZIL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Raw text -


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