POV-Ray : Newsgroups : povray.off-topic : #define _BITEME_H_ : #define _BITEME_H_ Server Time
5 May 2024 06:23:44 EDT (-0400)
  #define _BITEME_H_  
From: dick balaska
Date: 6 Aug 2018 22:01:48
Message: <5b68fd8c$1@news.povray.org>
I can't find the thread where clipka pointed out to me that the leading
underscore is a reserved macro.  This has been my style since before
those punks at std were playing their daddy's Atari.

Well, the latest version of Qt turns on a shitload of warnings. One of
which is "Use of reserved macro name". baf.

Another one is sign coercion, i.e. use of unsigned int for an int.
I would be happier if Qt had added unsigned overloads, like resizing a
window, as if I could make a window -10 pixels wide.

Oh, ok...

quint32 h = 10, w = 10;
window.resize( (int)h, (int)w );

*Now* I get a warning "use of old style conversion".

Well yeah, I'm old. Shut up.  Either remove the feature or shutup. :)

-- 
dik
Rendered 328976 of 330000 (99%)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.