[Git][NTPsec/ntpsec][master] waf: move alignment warnings back to --enable-debug-warnings
Gary E. Miller
gitlab at mg.gitlab.com
Sun May 7 20:15:54 UTC 2017
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
4d24df12 by Gary E. Miller at 2017-05-07T13:14:40-07:00
waf: move alignment warnings back to --enable-debug-warnings
This shows serious problems on RasPi that need fixing, but put it
back in the closet for now.
- - - - -
1 changed file:
- wscript
Changes:
=====================================
wscript
=====================================
--- a/wscript
+++ b/wscript
@@ -305,7 +305,7 @@ def configure(ctx):
('gnu99', '-std=gnu99'),
# this quiets most of macOS warnings on -fpie
('unused', '-Qunused-arguments'),
- ('w_cast_align', "-Wcast-align"),
+ # ('w_cast_align', "-Wcast-align"), # fails on RasPi, needs fixing.
('w_cast_qual', "-Wcast-qual"),
('w_disabled_optimization', "-Wdisabled-optimization"),
('w_float_equal', "-Wfloat-equal"),
@@ -353,6 +353,7 @@ def configure(ctx):
ctx.env.CFLAGS = [
# "-Wall", # for masochists
# "-Waggregate-return", # breaks ldiv(), ntpcal_daysplit(), etc.
+ "-Wcast-align", # fails on RasPi, needs fixing.
# "-Wbad-function-cast", # ntpd casts long<->double a lot
# "-Wformat-nonliteral", # complains about a used feature
"-Winline", # some OS have inline issues.
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/4d24df1288bb5fca1f4901993cf73d2a43e13ec2
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/4d24df1288bb5fca1f4901993cf73d2a43e13ec2
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170507/3a8079c0/attachment.html>
More information about the vc
mailing list