Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1582

gcc 4.7 needs a space between strings and format specifiers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.1
    • Component/s: Build
    • Labels:
      None
    • Environment:

      Fedora 17 64bit - gcc 4.7

      Description

      building the trunk master (dev) thare are many errors like the following:

      error: unable to find string literal operator 'operator"" PRId64'

      To solve please run something like:

      find ./trafficserver -type f -name "*.cc" -exec sed -i 's/\"(PRI.64)/\"\ \1/g' {} \;

        Attachments

        1. config.log
          412 kB
          Luca Rea
        2. diff.log
          61 kB
          Luca Rea
        3. make.log
          1.0 kB
          Luca Rea

          Activity

            People

            • Assignee:
              i.galic Igor Galić
              Reporter:
              luca.rea Luca Rea
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: