Ravi Prakash created MAPREDUCE-6810:
---------------------------------------

             Summary: hadoop-mapreduce-client-nativetask compilation broken on 
GCC-6.2.1
                 Key: MAPREDUCE-6810
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6810
             Project: Hadoop Map/Reduce
          Issue Type: Task
    Affects Versions: 3.0.0-alpha1
            Reporter: Ravi Prakash
            Assignee: Ravi Prakash


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:
{code}
[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", \
{code}

https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/3/html/User_Guide/sect-Changes_in_Version_3.0-GCC.html
bq.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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to