RFC: Avoiding #warning (C/C++ preprocessor extension)

Adriaan de Groot groot at kde.org
Sun Oct 30 21:49:45 GMT 2005


On Sunday 30 October 2005 21:25, Jarosław Staniek wrote:
> 1. Preferred way: Using doxygen @todo tag instead of #warning. Then
> warnings can be accessible:

The thing about @todo is that it collects lots of different things; not just 
compile warning type messages, but there's lots of @todos about ambiguous dox 
and weird coding. Mixing them together might be confusing. In addition, now 
you don't see the @todos/#warnings during compilation _at all_, and you can't 
use -Wall to catch them. That means you _have_ to look at a web page to 
discover what's still broken in the code.

[ade], who's all in favor of having lots of @todos that are about dox or 
missing features in the dox.

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot




More information about the kde-core-devel mailing list