Message-Id: <3.0.16.19971202160424.2b4f49c2@hem1.passagen.se> Date: Tue, 02 Dec 1997 16:11:52 -0500 To: djgpp AT delorie DOT com From: Peter Palotas Subject: Deque warnings... Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk Why do I get a bunch of warnings when compiling the following program, when compiling with '-Wall'? (All the warnings refer to `deque.h', so either there are errors in STL, or I'm doing something terribly wrong). #include #include int main(void) { deque v; v.push_back(0); v.push_back(1); v.push_back(2); v.push_back(3); v.push_back(4); while (!v.empty()) { printf("item: %i\n", v.front()); v.pop_front(); }; return 0; }