Re: [AD] END_OF_MAIN removal patch for msvc

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Milan Mimica wrote:
2008/11/17 torhu <torhu.lists@xxxxxxxxxx>:

4) Most of the examples and tools that come with allegro need to be built
without a console window by setting something in the build config, since
END_OF_MAIN no longer takes care of this.  CMake's ADD_EXECUTABLE function
has a WIN32 flag that seems to be the right way to do this. Maybe the
'example' macro in allegro's build system could get a similar flag? I'll
leave that to someone who knows the build system.

None of the executeables in 4.9 need a console and all are built with
WIN32 flag.
That's the current state, not a policy.



Several examples use printf, and not just for printing errors.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/