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

noreply@sourceforge.net noreply@sourceforge.net
Wed Nov 27 03:32:21 2002


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

Category: None
>Group: Platform Specific
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Fred L. Drake, Jr. (fdrake)
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: Fred L. Drake, Jr. (fdrake)
Date: 2002-11-26 22:32

Message:
Logged In: YES 
user_id=3066

Change committed in lib/expat.h revision 1.46.

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

Comment By: Artyom Bolgar (artyom17)
Date: 2002-11-26 20:14

Message:
Logged In: YES 
user_id=657326

Yeah, again forgot :) This is me, artyom17.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2002-11-26 20: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