mexWarnMsgTxt does not print warning message

John W. Eaton jwe at octave.org
Wed Jun 17 20:30:10 CDT 2009


On 15-Jun-2009, Alois Schlögl wrote:

| -----BEGIN PGP SIGNED MESSAGE-----
| Hash: SHA1
| 
| 
| mexWarnMsgTxt does not display any warning message.
| 
| This can be reproduced with the attached mex-file
| 
| 
| With Matlab I get this:
| >> mex test_mexWarnMsgTxt.cpp
| >> test_mexWarnMsgTxt
| Warning: that's a test warning message!
| >>
| >>
| 
| 
| With Octave I get this:
| 
| octave:14> mex test_mexWarnMsgTxt.cpp
| octave:15> test_mexWarnMsgTxt
| octave:16>
| octave:16>
| 
| 
| There is no error message. I tested this with a recent Version of Octave
|  3.1.55 configured for x86_64-unknown-linux-gnu.

I can't reproduce this problem.

What does

  nm test_mexWarnMsgTxt.mex

display on your system?

jwe



More information about the Bug-octave mailing list