Boost logo

Boost Users :

From: Trigve Siver (trigves_at_[hidden])
Date: 2007-07-14 04:59:47


Hi,

I was thinkig about setting _WIN32_WINNT to 0x400 and rebuilding boost.filesystem. I will try it for sure. Yes I've filled the bug report 5 minutes ago:)

thanks

Trigve

----- Original Message ----
From: Todd Greer <TGreer_at_[hidden]>
To: boost-users_at_[hidden]
Sent: Saturday, July 14, 2007 12:04:21 AM
Subject: Re: [Boost-users] [Boost.Filesystem] Program can't run under Win 98

On Thursday, July 12, 2007 7:27 AM
Trigve Siver said:

> I've got a problem running application that uses boost.filesystem on
win
> 98. I'm compiling it on Win XP SP2. The problem is the CreateHardLinkA
> function. It seems that this functions was added lately to
kernel32.dll
> (Windows 2000 I think). Is there any solution to resolve this problem?

> Anyway I don't use any links operations from boost.filesystem so I
don't
> care about this function. I'm using boost 1.34. With boost 1.33.1
> everything was working fine ( I think there wasn't code for link
> operations).

It would appear that #defining _WIN32_WINNT to 0x400 or less when
compiling the filesystem library should exclude that code (and some
related code with the same problem). I believe this can be done by
setting cxxflags to -D_WIN32_WINNT when building, but I haven't tried it
myself, and don't know much about the boost build system.

Unless this problem is fixed for 1.34.1, I'll be learning the details
myself in a few weeks, as it will otherwise block our upgrading.

Have you filed a bug report at svn.boost.org?

-- 
Todd
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
       
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net