GLTT
Index

Home
About
Download
Documentation
Mailing Lists
Contribute
Old News
Links
"OpenGL"
Source Forge

Compiling Under Solaris 8
by gerard on Tue Aug 14 00:00:00 PDT 2001
David A Bagley <bagleyd 'at' tux.org> writes:
    I have not built gltt with gcc-3.0 but using the includes I need the following trivial fix or I get an error on Solaris 8:
    /usr/remote/include/gltt/FTGlyphVectorizer.h:79: friend declaration requires 
       class-key, i.e. `friend class FTGlyphVectorizer'
    
Here is David's patch:

*** FTGlyphVectorizer.h.orig    Tue Aug 14 17:31:36 2001
--- FTGlyphVectorizer.h Tue Aug 14 17:32:30 2001
***************
*** 76,82 ****
      private:
        void add_point( double x, double y );
  
!     friend FTGlyphVectorizer;
      };
  
  protected:
--- 76,82 ----
      private:
        void add_point( double x, double y );
  
!     friend class FTGlyphVectorizer;
      };
  
  protected:
--