]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/scintilla/include/SString.h
update to docs now minimal sample compiles
[wxWidgets.git] / src / stc / scintilla / include / SString.h
index 6bfe50fccd1cc58cac58a500fccf4017cd964e48..3c7ccc33a51622610aef1b261992b201fc655602 100644 (file)
@@ -369,7 +369,11 @@ public:
  */
 inline char *StringDup(
        const char *s,                  ///< The string to duplicate
-       SString::lenpos_t len=SString::measure_length)  ///< The length of memory to allocate. Optional.
+        /* gcc 2.96 doesn't seem to like this syntax: gives
+           'non-local function uses anonymous type'
+           SString::lenpos_t len=SString::measure_length)      ///< The length of memory to allocate. Optional.
+        */
+        SString::lenpos_t len=0xffffffffU)     ///< The length of memory to allocate. Optional.
 {
        return SString::StringAllocate(s, len);
 }