cvs commit: patches/OpenSP OpenSP-1.5-gcc33-1.patch

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Mon Sep 1 22:14:21 PDT 2003


tushar      03/09/01 23:14:21

  Added:       OpenSP   OpenSP-1.5-gcc33-1.patch
  Log:
  added OpenSP-1.5-gcc33-1.patch
  
  Revision  Changes    Path
  1.1                  patches/OpenSP/OpenSP-1.5-gcc33-1.patch
  
  Index: OpenSP-1.5-gcc33-1.patch
  ===================================================================
  Submitter: Jim Gifford (patches at jg555 dot com)
  Origin: Debian OpenSP Maintainer
  Date: 08-10-2003
  Description: Fixes GCC 3.3 Compile Error
  
  diff -Naur OpenSP-1.5.orig/include/Attribute.h OpenSP-1.5/include/Attribute.h
  --- OpenSP-1.5.orig/include/Attribute.h	2000-03-09 10:30:56.000000000 -0000
  +++ OpenSP-1.5/include/Attribute.h	2003-08-10 22:54:41.000000000 -0000
  @@ -31,6 +31,27 @@
   class AttributeContext;
   class Syntax;
   
  +class SP_API AttributeValue : public Resource {
  +public:
  +  enum Type {
  +    implied,
  +    cdata,
  +    tokenized
  +    };
  +  AttributeValue();
  +  virtual ~AttributeValue();
  +  virtual AttributeSemantics *makeSemantics(const DeclaredValue *,
  +					    AttributeContext &,
  +					    const StringC &,
  +					    unsigned &,
  +					    unsigned &) const;
  +  virtual Type info(const Text *&, const StringC *&) const = 0;
  +  virtual const Text *text() const;
  +  virtual Boolean recoverUnquoted(const StringC &, const Location &,
  +				  AttributeContext &, const StringC &);
  +  static Boolean handleAsUnterminated(const Text &, AttributeContext &);
  +};
  +
   class SP_API AttributeDefinitionDesc {
   public:
     AttributeDefinitionDesc() { }
  @@ -380,27 +401,6 @@
     ConstPtr<Notation> notation_;
   };
   
  -class SP_API AttributeValue : public Resource {
  -public:
  -  enum Type {
  -    implied,
  -    cdata,
  -    tokenized
  -    };
  -  AttributeValue();
  -  virtual ~AttributeValue();
  -  virtual AttributeSemantics *makeSemantics(const DeclaredValue *,
  -					    AttributeContext &,
  -					    const StringC &,
  -					    unsigned &,
  -					    unsigned &) const;
  -  virtual Type info(const Text *&, const StringC *&) const = 0;
  -  virtual const Text *text() const;
  -  virtual Boolean recoverUnquoted(const StringC &, const Location &,
  -				  AttributeContext &, const StringC &);
  -  static Boolean handleAsUnterminated(const Text &, AttributeContext &);
  -};
  -
   class SP_API ImpliedAttributeValue : public AttributeValue {
   public:
     ImpliedAttributeValue();
  
  
  



More information about the patches mailing list