Build Trouble

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Build Trouble

Will Amrull
Hi, I am trying to build libw3 using the latest CVS and MSVC files, but I am encountering a problem which causes about 85% of the project builds to fail.

The problem seems to center around HTFile.h Line 102 :
extern size_t HTFile_dirent_buf_size(DIR * dirp);

These are the errors I receieve:
\libwww\Library\src\HTFile.h(102) : error C2143: syntax error : missing ')' before '*'
\libwww\Library\src\HTFile.h(102) : error C2143: syntax error : missing '{' before '*'
\libwww\Library\src\HTFile.h(102) : error C2059: syntax error : ')'

This error happens over and over and over as I try a bach build and I can't figure out what the problem is..

Any help would be greatly appreciated.
Reply | Threaded
Open this post in threaded view
|

Re: Build Trouble

Vic Bancroft-2

Will Amrull wrote:

> Hi, I am trying to build libw3 using the latest CVS and MSVC files,
> but I am
> encountering a problem which causes about 85% of the project builds to
> fail.
>
> The problem seems to center around HTFile.h Line 102 :
> extern size_t HTFile_dirent_buf_size(DIR * dirp);

Wow, those HTFile_dirent_buf_size bits have been problematic.  Is there
anyway to find out what the macro 'DIR' (data type of directory stream
objects) resolves to on your system ?  In general this structure is
opaque to users of the dirent.h supplied definitions . . .

> Any help would be greatly appreciated.

Help us help you !

Can you add the appropriate compiler switch to have the results of the
preprocessor output?  This way we can add appropriate defintions (to
www.sys.h) for your version of MSVC . . .

more,
l8r,
v

--
"The future is here. It's just not evenly distributed yet."
 -- William Gibson, quoted by Whitfield Diffie


Reply | Threaded
Open this post in threaded view
|

Re: Build Trouble

DootDog
In reply to this post by Will Amrull

I've run into this same problem.  Was anybody able to solve it?  I've searched through the files and can't find DIR defined anywhere.

Will Amrull wrote
Hi, I am trying to build libw3 using the latest CVS and MSVC files, but I am
encountering a problem which causes about 85% of the project builds to fail.

The problem seems to center around HTFile.h Line 102 :
extern size_t HTFile_dirent_buf_size(DIR * dirp);

These are the errors I receieve:
\libwww\Library\src\HTFile.h(102) : error C2143: syntax error : missing ')'
before '*'
\libwww\Library\src\HTFile.h(102) : error C2143: syntax error : missing '{'
before '*'
\libwww\Library\src\HTFile.h(102) : error C2059: syntax error : ')'

This error happens over and over and over as I try a bach build and I can't
figure out what the problem is..

Any help would be greatly appreciated.
Reply | Threaded
Open this post in threaded view
|

RE: Build Trouble

Sinha, Raj (Raj)
This seems to have resolved the build error
#define DIR WIN32_FIND_DATA

In wwwysy.h
Under
#ifdef WWW_MSWINDOWS

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf
Of DootDog
Sent: Thursday, March 12, 2009 6:43 PM
To: [hidden email]
Subject: Re: Build Trouble


I've run into this same problem.  Was anybody able to solve it?  I've
searched through the files and can't find DIR defined anywhere.


Will Amrull wrote:
>
> Hi, I am trying to build libw3 using the latest CVS and MSVC files,
but I
> am
> encountering a problem which causes about 85% of the project builds to
> fail.
>
> The problem seems to center around HTFile.h Line 102 :
> extern size_t HTFile_dirent_buf_size(DIR * dirp);
>
> These are the errors I receieve:
> \libwww\Library\src\HTFile.h(102) : error C2143: syntax error :
missing
> ')'
> before '*'
> \libwww\Library\src\HTFile.h(102) : error C2143: syntax error :
missing

> '{'
> before '*'
> \libwww\Library\src\HTFile.h(102) : error C2059: syntax error : ')'
>
> This error happens over and over and over as I try a bach build and I
> can't
> figure out what the problem is..
>
> Any help would be greatly appreciated.
>
>

--
View this message in context:
http://www.nabble.com/Build-Trouble-tp6345170p22486736.html
Sent from the w3.org - www-lib mailing list archive at Nabble.com.