* tests/lt_dlexit.at (lt_dlexit unloading libs): Added an
explicit int type to declaration of 'v1' to prevent compilation
failure with C++.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
+2010-09-22 Gary V. Vaughan <gary@gnu.org>
+
+ tests: ISO C++ forbids declaration of 'v1' with no type.
+ * tests/lt_dlexit.at (lt_dlexit unloading libs): Added an
+ explicit int type to declaration of 'v1' to prevent compilation
+ failure with C++.
+
2010-09-22 Peter Rosin <peda@lysator.liu.se>
tests: reloadable objects do not work on MSVC, SKIP test.
# define LIBA1_SCOPE extern
#endif
LIBA1_SCOPE int f1 (int);
-LIBA1_SCOPE v1;
+LIBA1_SCOPE int v1;
int fb1 (int x) { return f1 (v1) + x - 3; }
int vb1 = 3;
#ifdef __cplusplus