Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#485 closed defect (fixed)

yat-config --cppflags returns `-DGSL_RANGE_CHECK_OFF` and `-DNDEBUG`

Reported by: Peter Owned by: Peter
Priority: minor Milestone: yat 0.5
Component: build Version: trunk
Keywords: Cc:

Description

 yat-config --cppflags
-I/usr/local/include -I/usr/include -DHAVE_INLINE=1 -DGSL_RANGE_CHECK_OFF -DNDEBUG

As a user I don't want to get -DNDEBUG defined. Especially since it has no effect on yat (the library is already compiled and installed). When it come to the gsl flag, I'm not sure because it is not 100% clear to me what the role of if the flag is. Doe sit have any effect on my final program...?

Change History (2)

comment:1 Changed 12 years ago by Peter

Resolution: fixed
Status: newclosed

(In [1765]) Making cppflags -DHAVE_INLINE -DGSL_RANGE_CHECK_OFF -DNDEBUG private, i.e., they are not propagated to yat-config and not set in autoconf macro.

closes #485

comment:2 Changed 12 years ago by Peter

(In [1769]) Making cppflags -DHAVE_INLINE -DGSL_RANGE_CHECK_OFF -DNDEBUG private, i.e., they are not propagated to yat-config and not set in autoconf macro.

closes #485

Note: See TracTickets for help on using tickets.