DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L1820
Version: 2.0-feature


Here at work we have a "const" policy, ie if you don't change it, make it
const.

I've been using the signature

int main(int const argc, char const * const * const argv)

Basically meaning I intend to touch nothing.
For fun I also changed all the FLTK code to match the same signature and
it all compiled, which is a good thing meaning FLTK doesn't change the
command line arguments (compared with QT which actively jacks them).

Anyways the Widget::show() won't accept any "main" with the above
signature and pukes.


Link: http://www.fltk.org/str.php?L1820
Version: 2.0-feature

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to