Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14596

error: invalid suffix on literal; C++11 requires a space between literal and identifier

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      clang8 on FreeBSD complains about PRId64, PRIu64 and similar being aligned with the quotation character:

      [WARNING] /usr/ports/devel/hadoop3/work/hadoop-3.2.0-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/test/TestCompressions.cc:272:25: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
      [WARNING]   printf("Block size: %"PRId64"K\n", blockSize / 1024);
      [WARNING]                         ^
      [WARNING]                          
      
      

       Please add spaces around all such occurrences of these and similar formatting tokens.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yurivict Yuri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: