[Expat-bugs] [ expat-Bugs-644461 ] (expat 1.95.5) XML_Feature->name -const?

noreply@sourceforge.net noreply@sourceforge.net
Wed Nov 27 01:12:11 2002


Bugs item #644461, was opened at 2002-11-26 17:10
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=644461&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: (expat 1.95.5) XML_Feature->name -const?

Initial Comment:
I suppose the memeber 'name' of XML_Feature struct 
should be declared as const (see 'expat.h'):

typedef struct {
  enum XML_FeatureEnum  feature;
  const XML_LChar       *name; /*!AB*/
  long int              value;
} XML_Feature;

The absence of 'const' modifier here causes warnings on 
HP-UX with using aCC comipler.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2002-11-26 17:12

Message:
Logged In: NO 

I forgot to login before post the bug report, sorry.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=644461&group_id=10127



More information about the Expat-bugs mailing list