This discussion is archived
1 Reply Latest reply: Apr 27, 2012 5:09 AM by marc1842fr RSS

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

933628 Newbie
Currently Being Moderated
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 Explorer
    Currently Being Moderated
    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

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points