Subject: Re: [boost] Printf-style format specifiers
From: Rhys Ulerich (rhys.ulerich_at_[hidden])
Date: 2010-03-15 01:07:12
>>> or incorrect arguments being passed. In C++, the problem of
>>> accidental passing of non-POD typed arguments is added.
>> For all I know, there's no such problem:
>> a.c:19: warning: cannot pass objects of non-POD type struct S
>> through ...; call will abort at runtime
>> Of course, some folks ignore warnings, but well, they probably have bigger
> Well, I don't render that point valid. In our company we develop under
> Windows, and MSVC doesn't give such warnings. Only GCC under Linux does, but
> many developers simply don't look at it since it compiles.
Having just encountered that warning for the first time while moving
some MSVC code to GCC,
I strongly request that the library not emit that particular warning.
In my situation, the offending code compiled but crashed 100% of the
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk