@meena @lobocode Yeah, there's a comment somewhere in #FreeBSD's make framework, bsd.sys.mk:
# -pedantic is problematic because it also imposes namespace restrictions
#CFLAGS+= -pedantic
Not sure what kind of namespaces they mean, maybe related to feature flags?
edit: I *do* have it in my default CFLAGS (in my own gmake framework) and never ran into issues so far, just wanted to mention it.