Skip to content

Warnings due to typedef unsigned bool on Windows #3

Description

@mabuchner

I get lots of those warnings:

OSGBaseTypes.h(334): warning C4076: 'unsigned' : can not be used with type 'bool'
OSGBaseTypes.h(334): warning C4091: 'typedef ' : ignored on left of 'unsigned int' when no variable is declared

This is caused by the typedef unsigned bool inside OSGBaseTypes.h.

Everything works as expected, but those warnings are a bit annoying. Is there any reason why OSG_BOOL_IS_UNSIGNED gets defined for WIN32?

I'm using Visual Studio 2010 building a x64 C++ project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions