new connectalflag --nonstrict

6 views
Skip to first unread message

Jamey Hicks

unread,
Apr 9, 2015, 1:29:50 PM4/9/15
to connectal

I've gotten tired of all the compiler warnings in connectal code, some of which indicate either errors or the masking or runtime errors.

So I added -Wall to CFLAGS and CXXFLAGS.

And then to make sure we do not ignore them, I added -Werror, which treats compiler warnings as errors.

To keep the warnings as warnings, add --nonstrict to CONNECTALFLAGS:

    CONNECTALFLAGS += --nonstrict

If users of connectal prefer nonstrict by default, I will make that change but will continue to build our examples in strict mode.

Jamey

Now, on to the bsc compiler warnings ...
Reply all
Reply to author
Forward
0 new messages