Mail Archives: djgpp/2001/08/14/16:07:31
| From: | Gerardo Cahn <glcahn AT usa DOT net>
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | regex.h problem
|
| Date: | Tue, 14 Aug 2001 14:40:24 -0400
|
| Lines: | 24
|
| Message-ID: | <h2sintcmkaff06f8dv5udeqls3rhi7join@4ax.com>
|
| NNTP-Posting-Host: | dsl-216-227-86-9.telocity.com (216.227.86.9)
|
| Mime-Version: | 1.0
|
| X-Trace: | fu-berlin.de 997814497 9078464 216.227.86.9 (16 [9291])
|
| X-Newsreader: | Forte Agent 1.8/32.548
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
| Reply-To: | djgpp AT delorie DOT com
|
Yeah, I know ... I should know better than giving y'all the
chance to tell me there were ten betters way of fixin' this.
A c++ program working under linux (gcc 2.96) gave me a syntax
error under djgpp (2.95.3 20010315).
The problem seemed to be within the regex.h standard file; its
line 17 read:
typedef off_t regoff_t;
This off_t was not defined. I replaced it by 'int' and the
program is running fine.
What was the correct way of having 'off_t' defined?
Is 'int' bad/ not portable/ politically incorrect/ in poor
taste?
Thanks !
Gerardo L. Cahn <glcahn AT usa DOT net>
linux, mac ... and, well, .. yes ... ((windows too))
- Raw text -