Skip to content

narrowing conversion warning #1

Description

@GoogleCodeExporter
is there a PRAGMA one can use to prevent these 'narrowing conversion' warnings?

Thanks,
Whit

this is gcc 4.6 on debian testing:

../cppbugs/fastexp.h:71:76: error: narrowing conversion of ‘((clipp + 
1.2694269561767578125e+2f) * 8.388608e+6f)’ from ‘float’ to ‘uint32_t 
{aka unsigned int}’ inside { } [-fpermissive]

Original issue reported on code.google.com by armstron...@gmail.com on 30 Jan 2012 at 10:06

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions