Commit 0326d96881ccfaa84e44910f6286b9ba60746d7f

Authored by Perry Werneck
1 parent 2d0719fe

Ajustes para compilação com GCC6

apt.sh 0 → 100755
@@ -0,0 +1,24 @@ @@ -0,0 +1,24 @@
  1 +#!/bin/bash
  2 +
  3 +apt-get install autotools-dev
  4 +apt-get install autoconf
  5 +apt-get install automake
  6 +apt-get install libgtk-3-dev
  7 +apt-get install gettext
  8 +apt-get install libssl-dev
  9 +apt-get install desktop-file-utils
  10 +apt-get install libdbus-glib-1-dev
  11 +apt-get install libssl-dev
  12 +apt-get install xsltproc
  13 +apt-get install librsvg2-bin
  14 +apt-get install zip
  15 +apt-get install oorexx-dev
  16 +apt-get install imagemagick
  17 +apt-get install libreoffice-style-galaxy
  18 +apt-get install libreoffice-dev
  19 +apt-get install ure
  20 +apt-get install php5-cli
  21 +apt-get install php5-dev
  22 +apt-get install openjdk-7-jdk
  23 +apt-get install python-dev
  24 +
src/classlib/private.h
@@ -103,7 +103,7 @@ @@ -103,7 +103,7 @@
103 103
104 #else 104 #else
105 105
106 - #include <recursive_mutex> 106 + #include <mutex>
107 107
108 #endif // !c11 108 #endif // !c11
109 109
src/classlib/remote.cc
@@ -28,6 +28,7 @@ @@ -28,6 +28,7 @@
28 */ 28 */
29 29
30 #include <lib3270/config.h> 30 #include <lib3270/config.h>
  31 + #include <iostream>
31 32
32 #if defined(HAVE_DBUS) 33 #if defined(HAVE_DBUS)
33 #include <stdio.h> 34 #include <stdio.h>
@@ -737,7 +738,7 @@ @@ -737,7 +738,7 @@
737 } 738 }
738 catch(exception e) 739 catch(exception e)
739 { 740 {
740 - 741 + std::cerr << e.what();
741 } 742 }
742 743
743 char busname[4096]; 744 char busname[4096];
@@ -754,9 +755,10 @@ @@ -754,9 +755,10 @@
754 755
755 if (dbus_error_is_set(&err)) 756 if (dbus_error_is_set(&err))
756 { 757 {
757 - exception e = exception("Error when releasing DBUS name (%s)", err.message); 758 + //exception e = exception("Error when releasing DBUS name (%s)", err.message);
  759 + std::cerr << err.message;
758 dbus_error_free(&err); 760 dbus_error_free(&err);
759 - throw e; 761 + //throw e;
760 } 762 }
761 763
762 #else 764 #else