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

Bug#588120: g++-4.4: g++ can't handle -E



Package: g++-4.4
Version: 4.4.4-5
Severity: normal

I use a lot of preprocessing macros in my projects.
When they get out of hand I re-run gcc with -E to see what the compiler sees.
I just tried the same with g++:
( cd build/v3c/1-pinwheel && g++ -E -DHAVE_CONFIG_H -I. -I../../../v3c/1-pinwheel -I../..  
-I../../../v3c/1-pinwheel/.. -I../../../v3c -D_GNU_SOURCE -DV3C_TRACE=1 -D__linux__ 
-D_FILE_OFFSET_BITS=64 -DLINUX -D_REENTRANT -I/usr/include/uuid -D_GNU_SOURCE -isystem ../../..  
-g -ggdb -O0 -Wall -Wextra -pthread -MT cpp-string-tree.o -MD -MP -MF .deps/cpp-string-tree.Tpo 
-c -o cpp-string-tree.cc )

The response:
   g++: no input files

g++ --help states:
   -E                       Preprocess only; do not compile, assemble or link

Incidentally I grabbed gcc/g++ 4.4 from Squeeze using synaptic by temporarily enabling the
Squeeze repository.

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages g++-4.4 depends on:
ii  gcc-4.4                   4.4.4-5        The GNU C compiler
ii  gcc-4.4-base              4.4.4-5        The GNU Compiler Collection (base 
ii  libc6                     2.11.1-3       Embedded GNU C Library: Shared lib
ii  libgmp3c2                 2:4.2.2+dfsg-3 Multiprecision arithmetic library
ii  libmpfr1ldbl              2.3.1.dfsg.1-2 multiple precision floating-point 
ii  libstdc++6-4.4-dev        4.4.4-5        The GNU Standard C++ Library v3 (d

g++-4.4 recommends no packages.

Versions of packages g++-4.4 suggests:
pn  g++-4.4-multilib              <none>     (no description available)
pn  gcc-4.4-doc                   <none>     (no description available)
ii  libstdc++6-4.4-dbg            4.4.4-5    The GNU Standard C++ Library v3 (d

-- no debconf information



Reply to: