Skip to main content
GameDev.net gamedev.net
🔒 Locked

What's with these compiling errors?

Started by AndyMan Aug 2, 2002 at 8:10 PM 0 replies 450+ views
Original Post
AndyMan
AndyMan
Here's the error messages when I compile: In file included from token.h:7, from token.cpp:2: c:/progs/c3/lang/cxx/sstream: In method `int stringbuf::sync()': c:/progs/c3/lang/cxx/sstream:171: warning: comparison between signed and unsigned c:/progs/c3/lang/cxx/std/bastring.h: In method `class basic_string,__default_alloc_template > & basic_string,__default_alloc_template >::replace(int *, int *, int, int)': c:/progs/c3/lang/cxx/std/bastring.h:209: instantiated from here c:/progs/c3/lang/cxx/std/bastring.h:450: invalid type argument of `unary *' c:/progs/c3/lang/cxx/std/bastring.h:209: instantiated from here c:/progs/c3/lang/cxx/std/bastring.h:457: invalid type argument of `unary *' The first one I have whenever I #include <sstream>. It's just a bit annoying to have a warning produced a library you didn't make. The second one only just came up when I tried making a basic_string. Again, this is something which has nothing to do with my code, but is preventing me from compiling. I'm using the DJGPP compiler and the GNU C++ libraries. What shall I do? (Five days pass) Well, since the code was in headers, I went in there and hacked them myself. I think it's worked, time will tell. [edited by - AndyMan on August 8, 2002 8:55:34 AM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.