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

List:       kde-devel
Subject:    Re: [~OFF-TOPIC] pragma once
From:       Thiago Macieira <thiago () kde ! org>
Date:       2008-08-24 10:08:07
Message-ID: 200808241208.17594.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Otávio Souza - http://keyhost.com.br wrote:
>Hey guys, I was wondering, when I use:
>
>#pragma once
>
>in the beginning of the C++ header files, is it GLIBC only? or it's
> ANSI?

Neither. It's supported by a few compilers, like gcc.

You can use it if you want, but you must still leave the include guards in 
place in KDE code.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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