mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Fix compile error on macOS
[skip AppVeyor]
[skip linux]
[publish binaries]
Introduced by 59e5154, errored by clang, passed by gcc
FileIO/FitRideFile.cpp:5475:88: error: cannot pass non-trivial object of
type 'QString' to variadic function; expected type from format string
was 'wchar_t' [-Wnon-pod-varargs]
fprintf(stderr,"ERROR TYPE % CURRENTLY
UNSUPPORTED\n",ciqfield.type); fflush(stderr);
This commit is contained in:
@@ -5472,7 +5472,7 @@ void write_record(QByteArray *array, const RideFile *ride, bool withAlt, bool wi
|
||||
write_float32(ridePoint, val, true);
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr,"ERROR TYPE % CURRENTLY UNSUPPORTED\n",ciqfield.type); fflush(stderr);
|
||||
fprintf(stderr,"ERROR TYPE % CURRENTLY UNSUPPORTED\n",ciqfield.type.toStdString().c_str()); fflush(stderr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user