Skip to content

Warnings due to typedef unsigned bool on Windows #3

@mabuchner

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.

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