Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

ppdc-array.cxx:34:31: error: implicit conversion changes signedness: 'int' to 'unsigned long' [-Werror,-Wsign-conversion] #5533

Description

@paulmenzel

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 gives the error below.

Compiling ppdc-array.cxx...
ppdc-array.cxx:34:31: error: implicit conversion changes signedness: 'int' to
      'unsigned long' [-Werror,-Wsign-conversion]
      data = new ppdcShared *[count];
             ~~~              ^~~~~
ppdc-array.cxx:84:30: error: implicit conversion changes signedness: 'int' to
      'unsigned long' [-Werror,-Wsign-conversion]
    temp  = new ppdcShared *[alloc];
            ~~~              ^~~~~
2 errors generated.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions