After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 596195 - Errors in parserInternals.h when compiling, assumed to have one element
Errors in parserInternals.h when compiling, assumed to have one element
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: general
git master
Other Windows
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-24 15:03 UTC by wizanda
Modified: 2017-09-07 18:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description wizanda 2009-09-24 15:03:24 UTC
When compiling with MinGW, it shows these errors in parserInternals.h:

./include/libxml/parserInternals.h
warning: array 'xmlStringText' assumed to have one element
warning: array 'xmlStringTextNoenc' assumed to have one element
warning: array 'xmlStringComment' assumed to have one element
Comment 1 Daniel Veillard 2009-09-24 18:23:58 UTC
First it's a warning, not an error.

Second you can't declare publicly an array of bytes resource without
having to explicitely define it ? Sounds gross, and works with
all other compilers libxml2 had been compiled with for the last 7-8
years or so ....

I'm inclined to get an official response from a gcc maintainer
before accepting this as a bug in libxml2.
 
Daniel