From: H on
In article <1A8C88AC-3B96-45F8-BCA9-B50C00DE2FF1(a)spray.se>,
bengt.nilsson11(a)spray.se (Bengt Nilsson) wrote:

> Do you know what is the actual meaning of this message:?
>
> "mw_stdbool.h line 16 #error You must have the non-MSL C header
> file access path before the MSL access path"
>
> Is "the non-MSL C header file" referring to Metrowerks or Apple's
> header system?
>
>
> 7 nov 2006 kl. 11.11 skrev Jose' Cruanyes:
>
> >
> > Il giorno 07/nov/06, alle ore 10:18, Bengt Nilsson ha scritto:
> >
> >> Is the conclusion that it is correct to rename (or symlink, since
> >> CFM still needs the old names) stdbool.h, float.h to mw_stdbool.h,
> >> mw_float.h?
> >
> > I would say yes...
> >
> > Pax et Bonum
> >
> > # dott. Jose' Cruanyes Aguilar - C.E. Soft srl
> > # Pzza. Firenze,4 MILANO - XX Settembre 10, CREMONA
> > # 02,33603122 0372,460602
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
> > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org

The non-MSL C header files are referring to Apple's header system.

The meaning of the message:

The compiler can choose between a couple of headers of the same name.
Some belong to Apple's (and different SDKs) and some to Metrowerks'
header system. So, the compiler has some difficulties to know which to
choose if there is a path to more than one header system.
Therefore, CW's compiler chooses first the headers that can be found in
the first path, then, it is looking in the second path and so on. By
doing so the compiler can access all chosen header systems in a
preferred order.
If you stick to one header system only you should not see this error
message (but this is quite difficult).

Hartwig
From: Bengt Nilsson on
I have found a solution to the described problem, but it only lead to
another stopper.

The files stdbool.h and float.h in /Developer/SDKs/MacOSX.10.3.9.sdk/
usr/include are symlinks to /usr/include/gcc/darwin/default/stdtool.h
and .../float.h
/usr/include/gcc/darwin/defaultdefault is a link to /usr/include/gcc/
darwin/4.0 The files here refer to mw_stdbool.h and mw_float.h.
Changing stdbool.h and float.h symlinks to the ones in /usr/include/
gcc/darwin/3.3 makes the eror messages go away, since the files here
are normal headers.
HOWEVER:
After compiling the wxWindowsM8.mcp target "Mach-o wxshlib" (with no
errors) I get the following single error message:

Link Error : Internal Linker Error File 'MachODylibs.c' Line 656
could not read dylib

THIS one I cannot solve.

Has anyone seen this before?

7 nov 2006 kl. 21.33 skrev H:

>
> In article <1A8C88AC-3B96-45F8-BCA9-B50C00DE2FF1(a)spray.se>,
> bengt.nilsson11(a)spray.se (Bengt Nilsson) wrote:
>
>> Do you know what is the actual meaning of this message:?
>>
>> "mw_stdbool.h line 16 #error You must have the non-MSL C header
>> file access path before the MSL access path"
>>
>> Is "the non-MSL C header file" referring to Metrowerks or Apple's
>> header system?
>>
>>
>> 7 nov 2006 kl. 11.11 skrev Jose' Cruanyes:
>>
>>>
>>> Il giorno 07/nov/06, alle ore 10:18, Bengt Nilsson ha scritto:
>>>
>>>> Is the conclusion that it is correct to rename (or symlink, since
>>>> CFM still needs the old names) stdbool.h, float.h to mw_stdbool.h,
>>>> mw_float.h?
>>>
>>> I would say yes...
>>>
>>> Pax et Bonum
>>>
>>> # dott. Jose' Cruanyes Aguilar - C.E. Soft srl
>>> # Pzza. Firenze,4 MILANO - XX Settembre 10, CREMONA
>>> # 02,33603122 0372,460602
>>>
>>>
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
>>> For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
>> For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
>
> The non-MSL C header files are referring to Apple's header system.
>
> The meaning of the message:
>
> The compiler can choose between a couple of headers of the same name.
> Some belong to Apple's (and different SDKs) and some to Metrowerks'
> header system. So, the compiler has some difficulties to know which to
> choose if there is a path to more than one header system.
> Therefore, CW's compiler chooses first the headers that can be
> found in
> the first path, then, it is looking in the second path and so on. By
> doing so the compiler can access all chosen header systems in a
> preferred order.
> If you stick to one header system only you should not see this error
> message (but this is quite difficult).
>
> Hartwig
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org