1 Reply Latest reply: Apr 27, 2012 7:09 AM by marc1842fr RSS

    Translate gcc flags -fno-strict-aliasing and -Wall

    933628
      are there equivalent flags on Studio C Compiler for -Wall and -fno-strict-aliasing. How should I modify Makefile to avoid warnigs or errors related to this gcc flags?
        • 1. Re: Translate gcc flags -fno-strict-aliasing and -Wall
          marc1842fr
          user13079834 wrote:
          are there equivalent flags on Studio C Compiler for -Wall and -fno-strict-aliasing. How should I modify Makefile to avoid warnigs or errors related to this gcc flags?
          You could just remove them...
          -Wall is for warnings, and here warnings come mostly when you use lint instead of cc (and cc warnings come by default)
          -fno-strict-aliasing would be -xalias_level=any, which is the default