Commits

BarryFSmith  committed 086eaa4

a couple more non-ISO 90 syntax things allowed in examples

  • Participants
  • Parent commits e3dae51

Comments (0)

Files changed (1)

           grep -v "symbol if the" | \
           grep -v "ignoring symbol version info" | \
           grep -v "warning: initializer element is not computable at load time" | \
+          grep -v "warning: ISO C90 forbids mixed declarations and code" | \
    1. BarryFSmith author

      This is only for examples. It is because some test compilers get confused inside the struct initializations and think that it is mixed code and declarations when it is really just code inside the struct initializations. So things like

      a = 22;
      PetscReal i = 12;
      

      are still not acceptable even in examples

+          grep -v "warning: ISO C90 does not support ‘static’ or type qualifiers in parameter array declarators" | \
           grep -v "warning, duplicate dylib" | \
           grep -v "warning: duplicate dylib" | \
           grep -v "preempts that definition" | \