[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#100722: redundant error message from cpp



Subject: redundant error message from cpp
Package: g++-3.0
Version: 1:3.0-0pre010526
Severity: minor

With the attached files (notice tha missing boost/static_assert.hpp), I get the
following error message:

$ . compile
In file included from x.h:1,
                 from x.cc:1:
boost/utility.hpp:29:36: boost/static_assert.hpp: No such file or directory
In file included from x.h:2,
                 from x.cc:1:
boost/smart_ptr.hpp:61:62: boost/static_assert.hpp: Success

cpp seems to be continuing instead of failing, but that's not the problem (it
does stop the driver from compiling the preprocessed source). The problem is 
that:

- what's :29:36: and :61:62: ? Why two numbers?
- The second error message has a "Success" error message, which is as dumb as
  a "Error: No Error" error message.

It should repeat the ENOENT in the second message, instead of saying
"error: no error".


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux flower 2.4.5 #1 Tue May 29 18:09:30 BRT 2001 i686
Locale: LANG=en_US.ISO8859-1, LC_CTYPE=C

Versions of packages g++-3.0 depends on:
ii  gcc-3.0                 1:3.0-0pre010526 The GNU C compiler.
ii  gcc-3.0-base            1:3.0-0pre010526 The GNU compiler collection (base
ii  libc6                   2.2.3-5          GNU C Library: Shared libraries an
ii  libstdc++3-dev          1:3.0-0pre010526 The GNU stdc++ library version 3 (

Attachment: bug.tar.gz
Description: Binary data


Reply to: