help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird mex file contents in Yalmip


From: John W. Eaton
Subject: Weird mex file contents in Yalmip
Date: Tue, 29 Nov 2011 13:58:51 -0500

On 29-Nov-2011, fork wrote:

| in findhashsorted.c, there is the following line: 
| 
| "#  mexPrintf("What!! %i",mid);"
| 
| There is also a line: 
| 
| "# No way, the number is smaller than lowest number in table"
| 
| So here is my question:  Does ML scrub hash comments out of mex files,

I don't see how they could do that without causing trouble because #
begins a C preprocessor directive.

| is this
| some preprocessor magic, or ... does no one test their code before releasing 
it
| ???

I guess it could be that the compiler that was used to develop the
code ignored unrecognized preprocessor directives.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]