Skip to content

CppDemo.cpp narrowing conversion #4

Description

@ollelogdahl

Running make after ./configure with all example projects, make exits with errorcode 2.

CppDemo/CppDemo.cpp:50:1: error: narrowing conversion of ‘-1’ from ‘int’ to ‘long unsigned int’ [-Wnarrowing]

It is thrown by negative integers in an unsigned long int array.

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