[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Compiler versioner



In article <sslug@sslug> you wrote:
> Hej,

> > > > Der er sikkert mere forskel end kompilerversion på de to systemer. Fx libc
> > > > som var et større spring: fra det gamle libc5 til det moderne glibc2.
> > > Lyder meget rimeligt... Men kan man tvinge compileren til bruge 
> > > den gamle?
> > Ja, men dine fejl ser ikke ud til at have noget med det at gøre.

> Jamen, hvad kan så være årsag til forskellen? Koden skulle være 
> god nok -- den virker jo med den gamle compiler.
>  Hvordan gør man, bortset fra det?

Det er jo netop det. Du har et gammel C++ program der laver 
noget snask som virkede med den gamle oversætter.
Nyere oversættere godtager ikke ældre pre-standard ting,
og fanger måske flere fejl end tidligere.

Der er ikke andet at gøre at gå fejlmeldingerne igennem,
og rette programmet, da dette har fejl.
Evt. er Stroustrups C++  bog som opslag en hjælp.

Det kan være irriterende at gamle ting ikke virker,
men man må tage (sit) program og få det rettet til 
den gængse C++ standard.


-- 
mvh Frank Damgaard  | http://home3.inet.tele.dk/frda/



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *