]> git.lyx.org Git - lyx.git/blobdiff - src/support/lyxstring.h
removed a warning from screen and added CFLAGS in lyx.spec.in.
[lyx.git] / src / support / lyxstring.h
index 9c6df4bdef3babb89d94df967eb2b85139815cb8..068de3368bfaaea7d41b49671be514a8a4f1d7e1 100644 (file)
@@ -524,7 +524,7 @@ public:
 private:
        // These three operators can be used to discover erronous use of
        // ints and strings. However a conforming C++ compiler will flag
-       // a lot of char operations as abmbigous when they are compiled
+       // a lot of char operations as ambigous when they are compiled
        // in. Use them for debugging only (or perhaps not even then.)
        // Lgb.
        //
@@ -536,6 +536,8 @@ private:
        
        /// Forward declaration of the string representation
        struct Srep;
+       // DEC cxx requires this.
+       friend struct Srep;
 
        /// A string is a pointer to it's representation
        Srep * rep;