Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-1416

Setting "sonar.cpp.std" to "gnu++03" and "sonar.c.std" to "gnu89" should not cause IllegalArgumentException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.11
    • Component/s: None
    • Labels:
      None

      Description

      java.lang.IllegalArgumentException: GNU_CPP03
      	at com.sonar.cpp.lexer.CppPreprocessor.initializeStandardPredefinedMacros(CppPreprocessor.java:141) ~[sonar-cpp-plugin-3.11-SNAPSHOT.jar:na]
      	at com.sonar.cpp.frontend.Frontend.createPreprocessorContext(Frontend.java:241) ~[sonar-cpp-plugin-3.11-SNAPSHOT.jar:na]
      	at com.sonar.cpp.frontend.Frontend.parseFile(Frontend.java:200) ~[sonar-cpp-plugin-3.11-SNAPSHOT.jar:na]
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              evgeny.mandrikov Evgeny Mandrikov
              Reporter:
              evgeny.mandrikov Evgeny Mandrikov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: