Review Request: Add #pragma once to headers generated by "New Class" wizard

Aleix Pol Gonzalez aleixpol at gmail.com
Fri Jan 21 21:02:51 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100432/#review1016
-----------------------------------------------------------


#pragma once is not a standard and it's not really an improvement in GCC (safe guards are already optimized).
Also it's not in the C++ standard.

I don't think this should go in.

- Aleix


On Jan. 21, 2011, 8:28 p.m., Valentyn Pavliuchenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100432/
> -----------------------------------------------------------
> 
> (Updated Jan. 21, 2011, 8:28 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Summary
> -------
> 
> Add #pragma once to headers generated by "New Class" wizard in addition to include guards.
> 
> 
> This addresses bug 263913.
>     http://bugs.kde.org/show_bug.cgi?id=263913
> 
> 
> Diffs
> -----
> 
>   languages/cpp/codegen/cppnewclass.cpp 8bc82af 
> 
> Diff: http://git.reviewboard.kde.org/r/100432/diff
> 
> 
> Testing
> -------
> 
> Manual testing done.
> 
> 
> Thanks,
> 
> Valentyn
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110121/cbeb2bd2/attachment.html>


More information about the KDevelop-devel mailing list