Ups.
--
" Documentation is like sex: when it is good, it is very, very good; and when
it is bad, it is better than nothing. " -- (Dick Brandon)
Saludos /\/\ /\ >< `/
#! /bin/sh /usr/share/dpatch/dpatch-run
## 71_gcc4.3.dpatch by <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad synopsis-0.8.0~/Synopsis/Parsers/Cpp/ucpp/ucpp.cc
synopsis-0.8.0/Synopsis/Parsers/Cpp/ucpp/ucpp.cc
--- synopsis-0.8.0~/Synopsis/Parsers/Cpp/ucpp/ucpp.cc 2008-03-15
17:24:04.000000000 -0200
+++ synopsis-0.8.0/Synopsis/Parsers/Cpp/ucpp/ucpp.cc 2008-03-15
17:24:38.000000000 -0200
@@ -9,6 +9,7 @@
#include <Synopsis/AST/TypeKit.hh>
#include <Support/Path.hh>
#include <Support/ErrorHandler.hh>
+#include <algorithm>
#include <vector>
#include <string>
#include <iostream>
diff -urNad synopsis-0.8.0~/Synopsis/Parsers/Cxx/syn/occ.cc
synopsis-0.8.0/Synopsis/Parsers/Cxx/syn/occ.cc
--- synopsis-0.8.0~/Synopsis/Parsers/Cxx/syn/occ.cc 2008-03-15
17:24:04.000000000 -0200
+++ synopsis-0.8.0/Synopsis/Parsers/Cxx/syn/occ.cc 2008-03-15
17:24:38.000000000 -0200
@@ -33,6 +33,7 @@
#include <vector>
#include <cstring>
#include <cstdio>
+#include <memory>
#include <stdexcept>
using namespace Synopsis;
diff -urNad synopsis-0.8.0~/Synopsis/Parsers/Cxx/syn/swalker.hh
synopsis-0.8.0/Synopsis/Parsers/Cxx/syn/swalker.hh
--- synopsis-0.8.0~/Synopsis/Parsers/Cxx/syn/swalker.hh 2008-03-15
17:24:05.000000000 -0200
+++ synopsis-0.8.0/Synopsis/Parsers/Cxx/syn/swalker.hh 2008-03-15
17:25:15.000000000 -0200
@@ -77,8 +77,8 @@
void add_comments(AST::Declaration* decl, PTree::Node *comments);
void add_comments(AST::Declaration* decl, PTree::CommentedAtom *node);
void add_comments(AST::Declaration* decl, PTree::Declarator *node);
- void add_comments(AST::Declaration* decl, PTree::Declaration *decl);
- void add_comments(AST::Declaration* decl, PTree::NamespaceSpec *decl);
+ void add_comments(AST::Declaration* decl, PTree::Declaration *pdecl);
+ void add_comments(AST::Declaration* decl, PTree::NamespaceSpec *pdecl);
//. Traverses left side of tree till it finds a leaf, and if that is a
//. CommentedAtom then it adds those comments as spans
void find_comments(PTree::Node * node);
diff -urNad synopsis-0.8.0~/src/Support/ErrorHandler.cc
synopsis-0.8.0/src/Support/ErrorHandler.cc
--- synopsis-0.8.0~/src/Support/ErrorHandler.cc 2008-03-15 17:24:04.000000000
-0200
+++ synopsis-0.8.0/src/Support/ErrorHandler.cc 2008-03-15 17:24:38.000000000
-0200
@@ -6,6 +6,7 @@
//
#include "ErrorHandler.hh"
+#include <cstdlib>
#include <iostream>
#ifndef __WIN32__
diff -urNad synopsis-0.8.0~/src/Support/Path-posix.cc
synopsis-0.8.0/src/Support/Path-posix.cc
--- synopsis-0.8.0~/src/Support/Path-posix.cc 2008-03-15 17:24:04.000000000
-0200
+++ synopsis-0.8.0/src/Support/Path-posix.cc 2008-03-15 17:24:38.000000000
-0200
@@ -6,12 +6,14 @@
//
#include "Path.hh"
+#include <algorithm>
#include <vector>
#include <stdexcept>
#include <cerrno>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <cstring>
using namespace Synopsis;
diff -urNad synopsis-0.8.0~/src/Synopsis/Buffer.cc
synopsis-0.8.0/src/Synopsis/Buffer.cc
--- synopsis-0.8.0~/src/Synopsis/Buffer.cc 2008-03-15 17:24:04.000000000
-0200
+++ synopsis-0.8.0/src/Synopsis/Buffer.cc 2008-03-15 17:24:38.000000000
-0200
@@ -7,6 +7,7 @@
//
#include "Synopsis/Buffer.hh"
#include "Synopsis/Lexer.hh"
+#include <algorithm>
#include <streambuf>
#include <iterator>
#include <string>
diff -urNad synopsis-0.8.0~/src/Synopsis/PTree/Display.hh
synopsis-0.8.0/src/Synopsis/PTree/Display.hh
--- synopsis-0.8.0~/src/Synopsis/PTree/Display.hh 2008-03-15
17:24:04.000000000 -0200
+++ synopsis-0.8.0/src/Synopsis/PTree/Display.hh 2008-03-15
17:24:38.000000000 -0200
@@ -8,6 +8,7 @@
#define Synopsis_PTree_Display_hh_
#include <Synopsis/PTree.hh>
+#include <cstdlib>
namespace Synopsis
{
diff -urNad synopsis-0.8.0~/src/Synopsis/PTree/Encoding.hh
synopsis-0.8.0/src/Synopsis/PTree/Encoding.hh
--- synopsis-0.8.0~/src/Synopsis/PTree/Encoding.hh 2008-03-15
17:24:04.000000000 -0200
+++ synopsis-0.8.0/src/Synopsis/PTree/Encoding.hh 2008-03-15
17:24:38.000000000 -0200
@@ -10,6 +10,7 @@
#include <string>
#include <iostream>
+#include <cstring>
namespace Synopsis
{