[CRIU] [PATCH] use #pragma once instead of #define guards
Andrew Vagin
avagin at parallels.com
Tue Dec 24 01:39:37 PST 2013
On Mon, Dec 23, 2013 at 01:39:07PM +0400, Pavel Emelyanov wrote:
> On 12/21/2013 07:20 AM, Shawn Landden wrote:
>
> The signed-off-by line lost.
> Since which version does gcc supports this pragma?
File handling in the preprocessor has been rewritten. GCC no longer gets
confused by symlinks and hardlinks, and now has a correct implementation
of #import and #pragma once. These two directives have therefore been
un-deprecated.
http://gcc.gnu.org/gcc-3.4/changes.html
> And we also have headers at arch/*/include/asm/ directories :)
>
> Thanks,
> Pavel
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list