Mail Archives: djgpp/1996/10/11/12:57:28
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 -