|
0 |
Description: Fix FTBFS with clang instead of gcc
|
|
1 |
Bug-Debian: https://bugs.debian.org/756440
|
|
2 |
Author: Alexander <sanek23994@gmail.com>
|
|
3 |
Last-Update: 2014-07-30
|
|
4 |
--- a/src/project.h
|
|
5 |
+++ b/src/project.h
|
|
6 |
@@ -122,6 +122,14 @@
|
|
7 |
graphical user interface.
|
|
8 |
*/
|
|
9 |
|
|
10 |
+class project;
|
|
11 |
+
|
|
12 |
+bool ReadGPR_OLD(project &, istream &, bool, bool = false); ///< this is for the very old version.
|
|
13 |
+bool ReadGPR_v100(project &, istream &, bool, bool = false); ///< this is for the version 1.00.
|
|
14 |
+bool ReadGPR_v110(project &, istream &, bool, bool = false); ///< this is for the version 1.10.
|
|
15 |
+/// This is an input function for the v1.11 ghemical file format.
|
|
16 |
+bool ReadGPR(project &, istream &, bool, bool = false);
|
|
17 |
+
|
|
18 |
class project :
|
|
19 |
public custom_transformer_client,
|
|
20 |
public model
|
|
21 |
@@ -207,11 +215,11 @@
|
|
22 |
|
|
23 |
// methods for file I/O : ReadGPR and WriteGPR are friend functions so that it would be easier to "borrow" them elsewhere...
|
|
24 |
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
25 |
- friend bool ReadGPR_OLD(project &, istream &, bool, bool = false); ///< this is for the very old version.
|
|
26 |
- friend bool ReadGPR_v100(project &, istream &, bool, bool = false); ///< this is for the version 1.00.
|
|
27 |
- friend bool ReadGPR_v110(project &, istream &, bool, bool = false); ///< this is for the version 1.10.
|
|
28 |
+ friend bool ReadGPR_OLD(project &, istream &, bool, bool); ///< this is for the very old version.
|
|
29 |
+ friend bool ReadGPR_v100(project &, istream &, bool, bool); ///< this is for the version 1.00.
|
|
30 |
+ friend bool ReadGPR_v110(project &, istream &, bool, bool); ///< this is for the version 1.10.
|
|
31 |
/// This is an input function for the v1.11 ghemical file format.
|
|
32 |
- friend bool ReadGPR(project &, istream &, bool, bool = false);
|
|
33 |
+ friend bool ReadGPR(project &, istream &, bool, bool);
|
|
34 |
|
|
35 |
friend void WriteGPR_v100(project &, ostream &); ///< this is for the version 1.00.
|
|
36 |
/// This is an output function for the v1.11 ghemical file format.
|