Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha1
-
None
-
None
Description
I recently upgraded from Fedora 22 to Fedora 25 (I'm assuming this means the latest and greatest compilers, cmake etc.) My trunk build failed with this error:
[WARNING] /home/raviprak/Code/hadoop/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/src/lib/Log.h:35:67: error: unable to find string literal operator ‘operator""_fmt_’ with ‘const char [37]’, ‘long unsigned int’ arguments [WARNING] fprintf(LOG_DEVICE, "%02d/%02d/%02d %02d:%02d:%02d INFO "_fmt_"\n", \
This applies to any string literal followed without white space by some macro. To fix this, add some white space between the string literal and the macro name.