../../../../krusader/DiskUsage/radialMap/map.cpp:329:26: error: non-constant-expression cannot be narrowed from type 'uint' (aka 'unsigned int') to 'int' in initializer list [-Wc++11-narrowing]
int a[3] = { (*it)->start(), (*it)->length(), 0 };
^~~~~~~~~~~~~~
../../../../krusader/DiskUsage/radialMap/map.cpp:329:26: note: insert an explicit cast to silence this issue
int a[3] = { (*it)->start(), (*it)->length(), 0 };
^~~~~~~~~~~~~~
static_cast<int>( )
../../../../krusader/DiskUsage/radialMap/map.cpp:329:42: error: non-constant-expression cannot be narrowed from type 'uint' (aka 'unsigned int') to 'int' in initializer list [-Wc++11-narrowing]
int a[3] = { (*it)->start(), (*it)->length(), 0 };
^~~~~~~~~~~~~~~
../../../../krusader/DiskUsage/radialMap/map.cpp:329:42: note: insert an explicit cast to silence this issue
int a[3] = { (*it)->start(), (*it)->length(), 0 };
^~~~~~~~~~~~~~~
static_cast<int>( )
[2]
../../../krusader/UserAction/useraction.cpp:113:61: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
i18n( "The actionfile's root-element isn't called "ACTION_ROOT", using %1").arg( filename ),
^
[1]
```
../../../../krusader/DiskUsage/radialMap/map.cpp:329:26: error: non-constant-expression cannot be narrowed from type 'uint' (aka 'unsigned int') to 'int' in initializer list [-Wc++11-narrowing]
int a[3] = { (*it)->start(), (*it)->length(), 0 };
^~~~~~~~~~~~~~
../../../../krusader/DiskUsage/radialMap/map.cpp:329:26: note: insert an explicit cast to silence this issue
int a[3] = { (*it)->start(), (*it)->length(), 0 };
^~~~~~~~~~~~~~
static_cast<int>( )
../../../../krusader/DiskUsage/radialMap/map.cpp:329:42: error: non-constant-expression cannot be narrowed from type 'uint' (aka 'unsigned int') to 'int' in initializer list [-Wc++11-narrowing]
int a[3] = { (*it)->start(), (*it)->length(), 0 };
^~~~~~~~~~~~~~~
../../../../krusader/DiskUsage/radialMap/map.cpp:329:42: note: insert an explicit cast to silence this issue
int a[3] = { (*it)->start(), (*it)->length(), 0 };
^~~~~~~~~~~~~~~
static_cast<int>( )
```
[2]
```
../../../krusader/UserAction/useraction.cpp:113:61: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
i18n( "The actionfile's root-element isn't called "ACTION_ROOT", using %1").arg( filename ),
^
```
@Ray-V
I could reproduce the problem and made a fix for it. Unfortunately I don't have a fully clang-based TDE system now and so at some point linking failed and the build did not complete successfully with clang.
Could you verify that PR #8 does fix the build on your side?
@Ray-V
I could reproduce the problem and made a fix for it. Unfortunately I don't have a fully clang-based TDE system now and so at some point linking failed and the build did not complete successfully with clang.
Could you verify that PR #8 does fix the build on your side?
MicheleC
added this to the R14.0.13 release milestone 2 years ago
[1]
[2]
@Ray-V
I could reproduce the problem and made a fix for it. Unfortunately I don't have a fully clang-based TDE system now and so at some point linking failed and the build did not complete successfully with clang.
Could you verify that PR #8 does fix the build on your side?
Yes - links and runs - all ok.
Thanks