Hi,
> Markus Bergholz
> Sent: Saturday, June 28, 2014 2:55 AM
>
> On Fri, Jun 27, 2014 at 1:30 PM, YX Hao <[email protected]> wrote:
>
>
> Have you consider that compiler searches its own header path and header
> files have environment switches.
>
----------------------------^
Read the whole file and check the switches for preprocess.
For example: "#ifdef ...", "#ifndef ...", "#if ..."
TCC's "-E" option could help.
>
>
> Make it clear where “mexPrintf” is defined and why it is not effective.
>
>
> "mexPrintf" is defined in /usr/include/octave-3.8.1/octave/mexproto.h afaiu.
> So it is already in the include path. Any ideas?
>
> grep mexPrintf /usr/include/octave-3.8.1/octave/*
> /usr/include/octave-3.8.1/octave/mexproto.h:extern OCTINTERP_API int
> mexPrintf (const char *fmt, ...);
> /usr/include/octave-3.8.1/octave/mexproto.h: mexPrintf
> ("Assertion failed: %s, at line %d of file \"%s\".\n%s\n", \
> /usr/include/octave-3.8.1/octave/mexproto.h: mexPrintf
> ("Assertion failed at line %d of file \"%s\".\n%s\n", \
>
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel