Harald JOHNSEN wrote:
> I've added this to the two file where func is used (seen on the interweb)
> /* Try to get a reasonable __func__ substitute in place. */
> #if defined(_MSC_VER)
> /* MSVC compilers before VC7 don't have __func__ at all; later ones call it
>  * __FUNCTION__. */
> #if _MSC_VER < 1300
> #define __func__ "???"
> #else
> #define __func__ __FUNCTION__
> #endif
> #endif

What version of the toolchain are you using?  I was under the
impression that that had already been vetted against MSVC, but
might be wrong.

> compiles ok, but link fails
> Some functions defined in thread-posix.c (and used) are not defined in
> thread-win32.c
> I've forced the use of thread-posix, compile and link is ok now.

That sounds wrong, a pthreads library shouldn't be required on
windows.  Can you provide the exact linker error you are seeing?

Andy

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to