home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sdd.hp.com!nigel.msen.com!heifetz!ais.org!roofus!empath
- Message-ID: <765370d7928835t20@roofus.ann-arbor.mi.us>
- Date: Tuesday, 26 January 1993 21:59:04 EST
- X-Mailer: TMail version 1.14R
- From: "Tim Triemstra" <empath@ais.org>
- Organization: Empath Software
- Subject: Compiling a string class
- Newsgroups: comp.lang.c++
- Distribution: world
- Lines: 37
-
- I've been having trouble getting these lines of code to compile
- correctly under Zortech C++. It works fine under BC++ so I'm kinda
- baffled. Even more so, the error is kinda oblique (not realy alot of
- room for another ')' y'know.)
-
- Any ideas what could be causing this?
-
- ---
- ztc -mx -c str.cpp strsearch.cpp regx.cpp match.cpp dynstream.cpp
- ztcpp1x -DDOS386 -3 -ms -oC:\UTILS\TEMP\ztc_1.tmp str.cpp
- str(const char *, const str::substr& );
- ^
- str.h(123) : Error: ')' expected
- friend str operator+(const char *, const str::substr & );
- ^
- str.h(250) : Error: ')' expected
- int operator==(const char *, const str::substr & );
- ^
- str.h(293) : Error: ')' expected
- int operator<=(const char *, const str::substr & );
- ^
- str.h(294) : Error: ')' expected
- int operator>=(const char *, const str::substr & );
- ^
- str.h(295) : Error: ')' expected
- Fatal error: too many errors
- --- errorlevel 1
- --------------------------------------
- Thanks folks.
- Tim.
-
-
- -------------------------------------------------------
- | When the end comes, there will be two men standing: |
- | Me, and the guy I gotta kill. - Gosh I'm EVIL |
- ------ Tim Triemstra ------------- empath@ais.org -----
-