On Fri, Oct 13, 2000 at 02:10:47PM +0200, Guillaume Cottenceau wrote:
> At first tries, we succedeed to rebuild these C++ based packages:
> 
> . qt
> . kde2
> . xwc
> . doxygen
> . grany
> . kisocd
> . tuxkart
> . smpeg
> 
> 
> We failed:
> 
> . gtkmm

Trivial patch solves the compilation problems (just need to fix ANSI C++
violations in gtkmm code).

> . ClanLib
> . icewm
> . nist
> 
> 
> According to Titi, 2.96 respects closer c++ standard. So most apps which
> will fail are because of lack of c++ standard.
> 
> Most failures are because of includes in the wrong order, or previous
> warnings that are now errors.

Yes, exactly.


Regards,
        Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto:[EMAIL PROTECTED]
Software Engineer   PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team   http://linux.iplabs.ru
Fandra Project      http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who it's friends are.
--- gtkmm-1.2.3-orig/src/gtkmmproc/parser.yy    Wed Jun 28 00:07:20 2000
+++ gtkmm-1.2.3/src/gtkmmproc/parser.yy Sun Oct  1 23:19:59 2000
@@ -21,7 +21,7 @@
 {
 int yylex();
 int yyparse();
-char *getenv();
+char *getenv(const char *);
 }
 
 extern FILE *yyout, *yyin;
--- gtkmm-1.2.3-orig/src/gtkmmproc/lexer.ll     Wed Jun 28 00:07:20 2000
+++ gtkmm-1.2.3/src/gtkmmproc/lexer.ll  Mon Oct  2 00:04:17 2000
@@ -11,6 +11,7 @@
 #include <fstream>
 #include <unistd.h>
 #include <string>
+#include <cmath>
 
 #include "gtkmmproc.h"
 #include "parser.h"
@@ -30,13 +30,11 @@
 
 #else
 
-#pragma }
-
 extern "C"
 {
 void yyerror(char *s);
-int yylex(...);
-int yyparse(...);
+int yylex();
+int yyparse();
 }
 
 #endif

PGP signature

Reply via email to