Re: CLang flags query:: I'm wanting to port software to FreeBSD

2014-03-02 Thread Joe Nosay
On Thu, Feb 27, 2014 at 10:52 AM, Lowell Gilbert < freebsd-ports-lo...@be-well.ilk.org> wrote: > Joe Nosay writes: > > > jack_trauma.c:21:9: warning: 'IP_DONTFRAG' macro redefined > > #define IP_DONTFRAG 1 > > ^ > > /usr/include/netinet/in.h:464: > > 9: note: previous definition is here >

Re: CLang flags query:: I'm wanting to port software to FreeBSD

2014-02-27 Thread Lowell Gilbert
Joe Nosay writes: > jack_trauma.c:21:9: warning: 'IP_DONTFRAG' macro redefined > #define IP_DONTFRAG 1 > ^ > /usr/include/netinet/in.h:464: > 9: note: previous definition is here > #define IP_DONTFRAG 67 /* don't fragment packet */ > ^ > jack_trauma.c:192:60: error:

Re: CLang flags query:: I'm wanting to port software to FreeBSD

2014-02-26 Thread Joe Nosay
On Wed, Feb 26, 2014 at 9:26 PM, Brooks Davis wrote: > On Wed, Feb 26, 2014 at 06:43:38PM -0500, Joe Nosay wrote: > > I've noticed different flags such as -Wno-parentheses and such along with > > the -Wno-unused-variable. I would like to know where would be a good > source > > online to find the

Re: CLang flags query:: I'm wanting to port software to FreeBSD

2014-02-26 Thread Charles Swiger
Hi-- On Feb 26, 2014, at 3:43 PM, Joe Nosay wrote: > I've noticed different flags such as -Wno-parentheses and such along with > the -Wno-unused-variable. I would like to know where would be a good source > online to find the flags; For compatibility, clang understands the commonly used -W flags

Re: CLang flags query:: I'm wanting to port software to FreeBSD

2014-02-26 Thread Brooks Davis
On Wed, Feb 26, 2014 at 06:43:38PM -0500, Joe Nosay wrote: > I've noticed different flags such as -Wno-parentheses and such along with > the -Wno-unused-variable. I would like to know where would be a good source > online to find the flags; and, I would like to know what flags are used by > porters

CLang flags query:: I'm wanting to port software to FreeBSD

2014-02-26 Thread Joe Nosay
I've noticed different flags such as -Wno-parentheses and such along with the -Wno-unused-variable. I would like to know where would be a good source online to find the flags; and, I would like to know what flags are used by porters to optimize builds. These will be placed on the Makefile of the so