Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix the syntax in the sonar configuration (fix #126)
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 5 Dec 2016 19:45:09 +0000 (20:45 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 5 Dec 2016 19:45:13 +0000 (20:45 +0100)
I drop the #126 PR that propose to kill that config item all together
because I really think that sonar should not feel too much concerned
by our logging macros.

Yes they increase the nesting level if you expend them, but nobody
expends them mentaly. We use them as inline functions even if we
cannot implement them as functions for technical reasons.

sonar-project.properties

index 933fb1f..4e2666c 100644 (file)
@@ -41,8 +41,8 @@ sonar.cpp.std=gnu++11
 sonar.c.std=gnu11
 sonar.java.source=7
 
-# Disable the whole logging mechanism during SonarQube analysis
-sonar.cfamily.predefinedMacros=XBT_LOG_MAYDAY
+# Disable the whole logging mechanism during SonarQube analysis (our logging macro are crude, but should not harm Sonar)
+sonar.cfamily.predefinedMacros=#define XBT_LOG_MAYDAY
 
 # Talk to me (travis don't like it, it's too much)
 # sonar.verbose=true