delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/12/08/16:45:21

From: jfmiller AT polymail DOT cpunix DOT calpoly DOT edu (John Miller)
Subject: Re: _beginthread Problems with win95 and mingw32 using C++
8 Dec 1997 16:45:21 -0800 :
Message-ID: <348C906C.D72544DB.cygnus.gnu-win32@polymail.calpoly.edu>
References: <01bd0141$5f8510a0$fa173185 AT gbird0 DOT fu DOT is DOT saga-u DOT ac DOT jp>
Mime-Version: 1.0
To: GNU-Win32 <gnu-win32 AT cygnus DOT com>

Dear Frends,

Thank you to all of you who were kind enough to lend a helping hand (esp. Colin
Peters).  For those of you intrested in the final solution here it is

1.)   I change the Process.h file declairation of _beginthread by removing the
__cdecl__  this satisfied the cpp error about 'name type' declaired as function
returning function.  (I think this problem is also fixed in the lates snapshot?)

2.)  I am still puzzled by the link error.  the function does seem to be within the
extern "c" block so it shouldn't be mangled but I can't seem to get it to link.
Insetad I Downloaded the mingw32 version of egcs 1.00  and I was able to get the
code to compile correctly therefore I am not going to worry about this for now.

Once again thank you to all of you for you comments and sugestions.

John Miller
<jfmiller AT polymail DOT calpoly DOT edu>


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019