[Expat-bugs] [ expat-Bugs-1033965 ] Building application fails with
Intel C compiler (1.95.7)
SourceForge.net
noreply at sourceforge.net
Fri Jan 28 05:42:22 CET 2005
Bugs item #1033965, was opened at 2004-09-24 07:12
Message generated for change (Comment added) made by fdrake
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1033965&group_id=10127
Category: Build control
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Arjen Markus (arjenmarkus)
Assigned to: Greg Stein (gstein)
Summary: Building application fails with Intel C compiler (1.95.7)
Initial Comment:
I tried to build a small application using the Intel C
compiler under Linux. The compiler chokes on the use of
the macro XMLCALL:
../lib/include/expat.h(261): warning #1287: invalid
attribute for field "malloc_fcn"
void *(XMLCALL *malloc_fcn)(size_t size);
^
The macro seems to be set to an empty string, as there
is no specific information for that compiler in the
header file, but I have not thoroughly investigated
this.
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2005-01-27 23:42
Message:
Logged In: YES
user_id=3066
I really don't like having bogus warnings being generated;
if those can be cleared up, I'd like to do so.
Is documentation for the Intel compiler available online?
I'd be especially interested in material on compiler hints
and attributes.
----------------------------------------------------------------------
Comment By: Arjen Markus (arjenmarkus)
Date: 2004-09-27 05:41
Message:
Logged In: YES
user_id=400048
I tried with Expat 1.95.8:
the result was two warnings only, but the C source was
compiled and the program that finally results does the job
correctly.
Here are the warnings:
../expat-1.95.8/lib/expat.h(501): warning #1287: invalid
attribute for field "convert"
int (XMLCALL *convert)(void *data, const char *s);
^
../expat-1.95.8/lib/expat.h(502): warning #1287: invalid
attribute for field "release"
void (XMLCALL *release)(void *data);
^
(As far as I am concerned: this version is okay :))
----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2004-09-24 08:58
Message:
Logged In: YES
user_id=290026
This might not be a problem with Expat 1.95.8.
Could you please try?
Karl
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1033965&group_id=10127
More information about the Expat-bugs
mailing list