On Thu, Jun 16, 2011 at 12:13:58AM +0200, Jakub Wilk wrote:
> * Alessandro Ghedini <al3x...@gmail.com>, 2011-06-10, 12:59:
> >>I saw this in city.h:
> >>
> >>| typedef uint8_t uint8;
> >>| typedef uint32_t uint32;
> >>| typedef uint64_t uint64;
> >>| typedef std::pair<uint64, uint64> uint128;
> >>|
> >>| inline uint64 Uint128Low64(const uint128& x) { return x.first; }
> >>| inline uint64 Uint128High64(const uint128& x) { return x.second; }
> >>
> >>It is not acceptable to define such a generic names in a public
> >>header. Please educate your upstream not to do that.
> >
> >I don't quite understand. Of course they may have just avoided
> >those typedefs in the first place but, no one forces you to
> >include that header if you don't find it appropriate.
> 
> Great, so the bug doesn't affect user who don't use your package.
> How about caring also about those who do?

I assume people normally check whether a particular piece of code fits or
not their project, instead of blindly including it. Is this wrong?

Cheers

-- 
perl -E'$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110617094016.ga24...@pc-ale.fastwebnet.it

Reply via email to