[Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a type


Fri Jan 26 23:22:00 GMT 2007


t name a type
X-Bugzilla-Reason: CC
Message-ID: <bug-30606-276@http.gcc.gnu.org/bugzilla/>
Reply-To: gcc-bugzilla@gcc.gnu.org
To: java-prs@gcc.gnu.org
From: "danglin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <java-prs.gcc.gnu.org>
List-Subscribe: <mailto:java-prs-subscribe@gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/java-prs/>
List-Post: <mailto:java-prs@gcc.gnu.org>
List-Help: <mailto:java-prs-help@gcc.gnu.org>, <http://gcc.gnu.org/ml/#faqs>
Sender: java-prs-owner@gcc.gnu.org
Delivered-To: mailing list java-prs@gcc.gnu.org
X-SW-Source: 2007-q1/txt/msg00203.txt.bz2
Content-length: 5378

/test/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc -B/test/gnu/gcc/objdir/./gcc
-nos
tdinc++ -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src
-L/test/gn
u/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-B/opt/gnu/gcc/gcc-4.3
.0/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-4.3.0/hppa2.0w-hp-hpux11.11/lib
/ -isystem /opt/gnu/gcc/gcc-4.3.0/hppa2.0w-hp-hpux11.11/include -isystem
/opt/gn
u/gcc/gcc-4.3.0/hppa2.0w-hp-hpux11.11/sys-include -DHAVE_CONFIG_H -I.
-I../../..
/gcc/libjava -I./include -I./gcj -I../../../gcc/libjava -Iinclude
-I../../../gcc
/libjava/include -I../../../gcc/libjava/classpath/include -Iclasspath/include
-I
../../../gcc/libjava/classpath/native/fdlibm
-I../../../gcc/libjava/../boehm-gc/
include -I../boehm-gc/include -I../../../gcc/libjava/libltdl
-I../../../gcc/libj
ava/libltdl -I../../../gcc/libjava/.././libjava/../gcc
-I../../../gcc/libjava/..
/zlib -I../../../gcc/libjava/../libffi/include -I../libffi/include -fno-rtti
-fn
on-call-exceptions -pthread -fdollars-in-identifiers -Wswitch-enum
-D_FILE_OFFSE
T_BITS=64 -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/opt/gnu/gcc/gcc-4.3.0\"
-DTOOL
EXECLIBDIR=\"/opt/gnu/gcc/gcc-4.3.0/lib\"
-DJAVA_HOME=\"/opt/gnu/gcc/gcc-4.3.0\"
 -DBOOT_CLASS_PATH=\"/opt/gnu/gcc/gcc-4.3.0/share/java/libgcj-4.3.0.jar\"
-DJAVA
_EXT_DIRS=\"/opt/gnu/gcc/gcc-4.3.0/share/java/ext\"
-DGCJ_ENDORSED_DIRS=\"/opt/g
nu/gcc/gcc-4.3.0/share/java/gcj-endorsed\"
-DGCJ_VERSIONED_LIBDIR=\"/opt/gnu/gcc
/gcc-4.3.0/lib/gcj-4.3.0\" -DPATH_SEPARATOR=\":\"
-DLIBGCJ_DEFAULT_DATABASE=\"/o
pt/gnu/gcc/gcc-4.3.0/lib/gcj-4.3.0/classmap.db\"
-DLIBGCJ_DEFAULT_DATABASE_PATH_
TAIL=\"gcj-4.3.0/classmap.db\" -g -O2 -MT java/net/natVMURLConnection.lo -MD
-MP
 -MF java/net/.deps/natVMURLConnection.Tpo -c
../../../gcc/libjava/java/net/natV
MURLConnection.cc  -fPIC -DPIC -o java/net/.libs/natVMURLConnection.o
../../../gcc/libjava/java/net/natVMURLConnection.cc:21: error: 'magic_t' does
no
t name a type
../../../gcc/libjava/java/net/natVMURLConnection.cc:23: error: ISO C++ forbids
d
eclaration of 'magic_t' with no type
../../../gcc/libjava/java/net/natVMURLConnection.cc:23: error: 'p_magic_open'
wa
s not declared in this scope
../../../gcc/libjava/java/net/natVMURLConnection.cc:23: error: expected ',' or
'
;' before '(' token
../../../gcc/libjava/java/net/natVMURLConnection.cc:24: error: expected `)'
befo
re 'cookie'
../../../gcc/libjava/java/net/natVMURLConnection.cc:24: error: expected
primary-
expression before 'const'
../../../gcc/libjava/java/net/natVMURLConnection.cc:24: error: initializer
expre
ssion list treated as compound expression
../../../gcc/libjava/java/net/natVMURLConnection.cc:25: error: expected `)'
befo
re 'cookie'
../../../gcc/libjava/java/net/natVMURLConnection.cc:25: error: invalid
conversio
n from 'int' to 'void*'
../../../gcc/libjava/java/net/natVMURLConnection.cc:26: error: expected `)'
befo
re 'cookie'
../../../gcc/libjava/java/net/natVMURLConnection.cc:26: error: expected
primary-
expression before 'const'
../../../gcc/libjava/java/net/natVMURLConnection.cc:27: error: expected
primary-
expression before 'length'
../../../gcc/libjava/java/net/natVMURLConnection.cc:27: error: initializer
expre
ssion list treated as compound expression
../../../gcc/libjava/java/net/natVMURLConnection.cc: In static member function
'
static void java::net::VMURLConnection::init()':
../../../gcc/libjava/java/net/natVMURLConnection.cc:39: error: 'p_magic_open'
wa
s not declared in this scope
../../../gcc/libjava/java/net/natVMURLConnection.cc:52: error: 'cookie' was not
declared in this scope
../../../gcc/libjava/java/net/natVMURLConnection.cc:52: error: 'MAGIC_MIME' was
not declared in this scope
../../../gcc/libjava/java/net/natVMURLConnection.cc:53: error: expected `)'
befo
re '__null'
../../../gcc/libjava/java/net/natVMURLConnection.cc:55: error: 'p_magic_load'
ca
nnot be used as a function
../../../gcc/libjava/java/net/natVMURLConnection.cc:57: error: 'p_magic_close'
c
annot be used as a function
../../../gcc/libjava/java/net/natVMURLConnection.cc:58: error: expected `;'
befo
re '__null'
../../../gcc/libjava/java/net/natVMURLConnection.cc: In static member function
'
static java::lang::String*
java::net::VMURLConnection::guessContentTypeFromBuffe
r(JArray<__java_byte>*, jint)':
../../../gcc/libjava/java/net/natVMURLConnection.cc:70: error: 'cookie' was not
declared in this scope
../../../gcc/libjava/java/net/natVMURLConnection.cc:70: error: expected `)'
befo
re '__null'
../../../gcc/libjava/java/net/natVMURLConnection.cc:73: error: 'cookie' was not
declared in this scope
../../../gcc/libjava/java/net/natVMURLConnection.cc:73: error: 'p_magic_buffer'
cannot be used as a function
make[3]: *** [java/net/natVMURLConnection.lo] Error 1

On HP-UX 11.11, magic.h doesn't define magic_t, etc.


-- 
           Summary: natVMURLConnection.cc:21: error: 'magic_t' does not name
                    a type
                    t name a type
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606



More information about the Java-prs mailing list