Commit 0326d96881ccfaa84e44910f6286b9ba60746d7f
1 parent
2d0719fe
Exists in
master
and in
5 other branches
Ajustes para compilação com GCC6
Showing
3 changed files
with
30 additions
and
4 deletions
Show diff stats
| @@ -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
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 |