[Code][Newbie][Help] MSVC Errors

From: Reza Nejad (khakbaz-nejad.1@OSU.EDU)
Date: 08/09/02


Strange compile errors with stock circle bp21...

and MSVC++ 6.0
\circle\circle30bpl21\src\db.c(676) : error C2065: 'PATH_MAX' : undeclared
identifier
\circle\circle30bpl21\src\db.c(676) : error C2057: expected constant
expression
\circle\circle30bpl21\src\db.c(676) : error C2466: cannot allocate an
array of constant size 0
\circle\circle30bpl21\src\db.c(676) : error C2133: 'buf2' : unknown size
\circle\circle30bpl21\src\db.c(707) : warning C4034: sizeof returns 0
\circle\circle30bpl21\src\db.c(716) : warning C4034: sizeof returns 0
\circle\circle30bpl21\src\db.c(782) : warning C4034: sizeof returns 0
\circle\circle30bpl21\src\utils.c(551) : error C2065: 'PATH_MAX' :
undeclared identifier
\circle\circle30bpl21\src\utils.c(551) : error C2057: expected constant
expression
\circle\circle30bpl21\src\utils.c(551) : error C2466: cannot allocate an
array of constant size 0
\circle\circle30bpl21\src\utils.c(551) : error C2133: 'name' : unknown size
\circle\circle30bpl21\src\utils.c(576) : warning C4034: sizeof returns 0
weather.c

I followed the instructions in the docs, updated the conf.h and the other
files.....wierd 20 compiles fine..

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT