"auto not allowed in function return type" build failure(s)
clang 5.0
This code will fail to build with clang++ with the default args:
auto k() -> auto;
# Works:
$ g++ -c foo.cpp
# Fails
$ clang++ -std=c++11 foo.cpp
foo.cpp:1:13: error: 'auto' not allowed in function return type
auto k() -> auto;
^~~~
1 error generated.
# Works
$ g++ -std=c++11 foo.cpp
Package | Version | Supposed error message | Full log |
Bug report |
ants | 2.1.0-5 | vnl_math.h:159:5: error: 'auto' not allowed in function return type
| Log |
|
elastix | 4.8-12 | vnl_math.h:159:5: error: 'auto' not allowed in function return type
| Log |
|
itksnap | 3.6.0-1 | vnl_math.h:159:5: error: 'auto' not allowed in function return type
| Log |
|
nifti2dicom | 0.4.11-1 | vnl_math.h:159:5: error: 'auto' not allowed in function return type
| Log |
|
4 errors