lemanhtrung / qextserialport

Automatically exported from code.google.com/p/qextserialport
Other
0 stars 0 forks source link

WIN32_LEAN_AND_MEAN define in qextserialport.h header #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What new feature(s) would you like to see included?

A WIN32_LEAN_AND_MEAN macro in the QextSerial.h file.

This define will cause a lot of headerfiles not to be included from the 
windows.h file.

The reason for this proposal is that windows.h has always been a very tricky 
file to include because of all the header files it includes, and the macros 
that come with them. Some of these macros got in my way on a recent project of 
mine and because of the generic compilation errors that were displayed, it took 
my quite some time to find the culprit.

Of course this also has the added benefit of not including all those unneeded 
headerfiles, thus speeding up the compilation process.

It will basically mean that QextSerialPort will be much nice library to include 
in your project and the fix for it is very simple.

Original issue reported on code.google.com by thw...@gmail.com on 22 May 2011 at 12:01

GoogleCodeExporter commented 9 years ago
Hello,

As far as I know, WIN32_LEAN_AND_MEAN doesnot in the QextSerialPort.h

Original comment by dbzhang...@gmail.com on 10 Nov 2011 at 3:27

GoogleCodeExporter commented 9 years ago
Hey!

Sorry, I did not quite understand your answer. WIN32_LEAN_AND_MEAN does not 
what?

Original comment by thw...@gmail.com on 10 Nov 2011 at 8:00

GoogleCodeExporter commented 9 years ago
This issue is not valid any more for current version. Before QextSerialPort 
1.2beta released, your can download the source using Mercurial.

Original comment by dbzhang...@gmail.com on 16 Mar 2012 at 8:23