The Dark Side has the pecularity to require extra mantras like
__declspec(dllexport)  (or similar, I am trying hard to forget these
things..)  for function declarations if one wants the function to show
up (visibly at least) in a shared library. This attribute also seems
to become part of the function's signature, at least code like

        __declspec(dllexport) int exit(int);
        int exit(int);

fails to compile while mumbling about a second declaration not mathcing
the first (or similar...)

This, in turn, leads to autoconf not even recognizing stddef.h even if
it is there and usable. Autoconf produces test code like

        int exit(int);
        ...
        #include <stddef.h>
        ...
        int main() { exit(0); }

which triggers the 'error' mentioned above. 

This means the MS compiler is not usable to compile LyX because it fails
autoconf tests that are not exactling testing what they are supposed to
test (usability of certain headers in this case).

Questions: Is this commonly known? Maybe ignored for political reasons?
If so, are there work arounds? And lastly: Where is the code produced by
autoconf stored? In the autocon binary? In some .m4 file? If so, where? 

Andre'

Reply via email to