[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50050] MEX mxAssert macro expands wrongly.
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #50050] MEX mxAssert macro expands wrongly. |
Date: |
Fri, 13 Jan 2017 17:45:27 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #50050 (project octave):
Status: Need Info => In Progress
_______________________________________________________
Follow-up Comment #1:
@Kai: Your analysis is correct. There should be '(' and ')' around "expr".
Go ahead and make a changeset for stable.
As for why MxAssert is getting compiled in, either there *is* a '-g' being
added (maybe from the user's own CFLAGS?) or someone is defining
"-DMEX_DEBUG". My guess is the former. To debug, try
mkoctfile -p ALL_CFLAGS
The code in mkoctfile.cc is looking for '-g' somewhere in ALL_CFLAGS to
indicated debug mode. Maybe there is something like "optionabc-gxyz" and the
'-g' is being found in the middle of a word. Maybe the search should be for '
-g' with a space in front.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50050>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/