[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: More egcs options...
From:       Steffen Hansen <stefh () mip ! sdu ! dk>
Date:       1999-05-18 14:30:06
[Download RAW message or body]

On Tue, 18 May 1999, Roope Anttinen wrote:

> On Tue, 18 May 1999, EXT Steffen Hansen wrote:
> >Did anyone try to use the #pragma interface, #pragma implementation for
> >their C++ code? The egcs manpage says that it should make binaries
> >smaller.
> >
> >Do you think we should add these #pragma's to all files in kdelibs?
> 
> Does this affect non egcs users? IMHO KDE should be compilable with other
> compilers too.

It is totally portable. If a certain compiler doesn't understand a certain
#pragma, the compiler just ignores it. This is what #pragma's are
for -- telling the compiler about system/compiler-specific things without
breaking portability.

greetings,
--------------
Steffen Hansen                              |
email: stefh@mip.sdu.dk, stefh@imada.sdu.dk,|  
       hansen@kde.org                       | ABC...VWXKZ :)
URL:   http://www.mip.sdu.dk/~stefh         | 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic