lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Roberto Ierusalimschy once stated:
> > I've compiled the latest lua54-alpha-rc1 on clang, clang reported 38
> > warnings. Would be nice to double check just to be sure is not a source of
> > problems. (also would be nice to have no warning on clang, since we have no
> > warning on gcc and MSVC).
> 
> If I understood correctly, you compiled with a lot of extra "-W*" options.
> We certainly prefer no warnings on clang, but not no warnings for all
> "-W*" options. After all, they are not part of '-Wall' for a reason.
> What was your criteria for choosing those options?

  What Roberto said.  

  I've tried compiling code with "clang -Weverything" and it's rather
amusing.  One of the "warnings" was that padding bytes were being added to a
structure, yet if I turned off padding, I got a warning about the lack of
padding bytes!

  -spc