|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Build TroubleHi, 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. |
|
|
Re: Build TroubleWill 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 |
|
|
Re: Build TroubleI'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.
|
|
|
RE: Build TroubleThis seems to have resolved the build error
#define DIR WIN32_FIND_DATA In wwwysy.h Under #ifdef WWW_MSWINDOWS -----Original Message----- From: www-lib-request@... [mailto:www-lib-request@...] On Behalf Of DootDog Sent: Thursday, March 12, 2009 6:43 PM To: www-lib@... 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. |
| Free embeddable forum powered by Nabble | Forum Help |