List Arkiverade meddelande #4

Från: "Paul Smedley" <> Meddelandehuvud
Oavkodat meddelande
Ämne: Re: [GNU Ports] _beginthread not declared
Datum: Sun, 10 May 2020 18:19:13 +0930
Till: GNU Ports for eCS Mailing List <>

Hi guys,

On 10/5/20 2:59 pm, Dave Yeo wrote:
On 05/09/20 09:20 PM, Steven Levine wrote:
A quick look at stdlib.h indicates that the _beginthread declaration is
controlled by:

#if (!defined (__STRICT_ANSI__) && !defined (_POSIX_SOURCE)) || defined
(_WITH_UNDERSCORE) || defined(__USE_EMX)

Is it possible one of these #defines is missing?

Quite possible, but attempts as setting various ones has just resulted in an earlier error. I'm probably just missing something simple.

There are also lots of related warnings like
These are all side effects of the implicit declaration of _beginthread.

Yet these turn into a fatal error if I declare __USE_EMX or such.

I remember a similar problem years ago with one port (I forget which).

I worked around it by adding the definition for _beginthread in the .c file that needed it.

A hack? Yes
Effective? Also yet :)



Prenumerera: Sändning, Uppsamling, Index.
Stoppa prenumeration
Meddelande till ListMaster