On Mon, Jul 13, 2009 at 12:36 PM, Jonathan
Franklin
On Tue, Jul 7, 2009 at 6:00 PM, Commander Pirx
wrote: I was struggling with this problem too. Include
before and all works fine. This works great, most of the time.
I've got some headers that include the wxWidgets pre-compiled headers header file, which pretty much blows any previous definitions away, AND includes windows.h. I never figured out a way to integrate asio into this file, and was forced to use the pimpl idiom.
I'm a wx light-weight, so perhaps there is something I missed.
Jon
I'm not familiar with wxWidgets, but what do you mean it "blows away any previous definitions"? It can't uninclude any file you've included before the wxWidgets header file. I tried to download it to see what you mean, but the wxWidgets sourceforge is giving me errors when I try to download the latest release, saying the file doesn't exist.