[ expat-Bugs-1033965 ] Building application fails with Intel C compiler (1.95.7)

"SourceForge.net" <[email protected]>
Newsgroups gmane.text.xml.expat.bugs
Message-ID <[email protected]>
Bugs item #1033965, was opened at 2004-09-24 13:12
Message generated for change (Comment added) made by arjenmarkus
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: Arjen Markus (arjenmarkus)
Date: 2004-09-27 11: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 14: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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.