From: Mike M. <mel...@pc...> - 2003-03-05 14:40:00
|
On 5 Mar 2003, Miguel Freitas wrote: > oh. thanks Mike! that was not supposed to be commited, i will revert to > the right value... Err, that was not the problem (I did not actually test the plugin). The original macro was: #define BLOCKS_PER_PAGE 10000 //102400 /* 200MB per page. each session can have several pages */ That means that the following statement: if( (this->rec_blk / BLOCKS_PER_PAGE) != this->rec_page || this->rec_fd == -1) { turned into: if( (this->rec_blk / 10000 //102400 /* 200MB per page. each session can have several pages */) != this->rec_page || this->rec_fd == -1) { I guess your compiler did not mind this structure but gcc v2.95 kept telling me "parse error before '/'". This was *really* confusing since I thought it meant "before the division symbol". -- -Mike Melanson |