On Thu, 30 Aug 2018, Vinay Kumar wrote:

> +Warn if a priority from 0 to 100 is used for constructor or destructor.
> +The use of constructor and destructor attributes allow you to assign a
> +priority to the constructor/destructor to control its order of execution
> +before main() is called or after it returns. The priority values must be
> +greater than 100 as the compiler reserves priority values between 0-100
> +for the implementation.

Documentation style issues:

@code{main}, no ().

Two spaces after '.' at end of sentence in Texinfo.

TeX-style -- in range, so 0--100.

> +This warning is enabled by @option{-Wall}.

Isn't it enabled by default, not by -Wall (so the main option is 
-Wno-prio-ctor-dtor to disable the warning)?

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to