C++ stylistic concerns?
smorrey at gmail.com
Wed Mar 21 16:42:20 MDT 2007
Well I think I may have just figured out one reason for not doing it this way.
Windows (Visual C++ .net 2005), is completely ignoring the namespace constraint.
So my CreateWindow function was being confused by the compiler with
Windows own CreateWindow function. Hence a lot of errors about
My guess is the compiler is treating the .h file using c syntax rules
rather than c++ syntax rules.
Changing my .h to a .cpp fixes the issue.
Thats a less than optimal solution though :(
For what it's worth it's working like a charm on Mac and Linux.
On 3/21/07, Michael L Torrie <torriem at chem.byu.edu> wrote:
> On Wed, 2007-03-21 at 10:45 -0600, Steve wrote:
> > Thus far it's looking to be dual licensed, GPL (free) and
> > closed-commercial (fee of some sort) Other than that I'm not sure and
> > don't much care, as long as the check clears :D
> This does make my last comments about OpenGL moot. I still think they
> are way out in left field though.
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
More information about the PLUG