1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
Silence warning pollution due to misplaced attributes:
* /var/tmp/portage/sci-chemistry/ball-1.4.2/work/BALL-1.4.2/include/BALL/COMMON/logStream.h:165:22: note: attribute for ‘struct BALL::LogStreamBuf::StreamStruct’ must follow the ‘struct’ keyword
--- BALL-1.4.2/include/BALL/COMMON/logStream.h
+++ BALL-1.4.2/include/BALL/COMMON/logStream.h
@@ -162,7 +162,7 @@
virtual int overflow(int c = -1);
//@}
- BALL_EXPORT struct StreamStruct
+ struct BALL_EXPORT StreamStruct
{
std::ostream* stream;
string prefix;
--- BALL-1.4.2/include/BALL/FORMAT/MOL2File.h
+++ BALL-1.4.2/include/BALL/FORMAT/MOL2File.h
@@ -33,7 +33,7 @@
public:
/// A class used for storing TRIPOS sets
- BALL_EXPORT struct SetStruct
+ struct BALL_EXPORT SetStruct
{
String name;
bool is_static;
@@ -136,7 +136,7 @@
bool containsAtomChilds_(AtomContainerConstIterator& frag_it);
- BALL_EXPORT struct AtomStruct
+ struct BALL_EXPORT AtomStruct
{
String name;
Vector3 position;
@@ -146,14 +146,14 @@
float charge;
};
- BALL_EXPORT struct BondStruct
+ struct BALL_EXPORT BondStruct
{
Position atom1;
Position atom2;
String type;
};
- BALL_EXPORT struct MoleculeStruct
+ struct BALL_EXPORT MoleculeStruct
{
String name;
Size number_of_atoms;
@@ -166,7 +166,7 @@
String comment;
};
- BALL_EXPORT struct SubstructureStruct
+ struct BALL_EXPORT SubstructureStruct
{
String name;
Size root_atom;
@@ -178,7 +178,7 @@
String comment;
};
- BALL_EXPORT struct CommentStruct
+ struct BALL_EXPORT CommentStruct
{
String name;
String value;
--- BALL-1.4.2/include/BALL/FORMAT/MOLFile.h
+++ BALL-1.4.2/include/BALL/FORMAT/MOLFile.h
@@ -41,7 +41,7 @@
@see PropertyManager::setProperty
@see PropertyManager::getProperty
*/
- BALL_EXPORT struct Property
+ struct BALL_EXPORT Property
{
///
static const String ATOM_MASS_DIFFERENCE;
|