Menu

#276 VS2015 + WIN32_LEAN_AND_MEAN

v1.0 (example)
closed-wont-fix
None
5
2015-09-08
2015-08-03
thims
No

Try to compile WTL with VC++ 2015 and WIN32_LEAN_AND_MEAN option set. You'll get many errors including missing ShellExecute in the global namespace and things like:

atlprint.h(59): error C3646: 'infotype': unknown override specifier
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

Discussion

  • Nenad Stefanovic

    • assigned_to: Nenad Stefanovic
     
  • Nenad Stefanovic

    Sorry, WTL does not support WIN32_LEAN_AND_MEAN

     
  • Nenad Stefanovic

    • status: open --> closed-wont-fix
     
  • Maximilian Zamorsky

    since when!? I compile my solution using WIN32_LEAN_AND_MEAN since WTL 7 !
    Even WTL 9.0 does support it since it was published.

     
  • Nenad Stefanovic

    Since forever. You can compile code that doesn't use anything that WIN32_LEAN_AND_MEAN excludes, but WTL itself doesn't check for it.

     
  • Nenad Stefanovic

    Here is a good explanation of WIN32_LEAN_AND_MEAN:

    http://blogs.msdn.com/b/oldnewthing/archive/2009/11/30/9929944.aspx

     
  • Maximilian Zamorsky

    Oh! Thanks a lot!
    ;-)

     

Anonymous
Anonymous

Add attachments
Cancel