win32 port: visibility, warnings, templates

This commit is contained in:
Matej Sekoranja
2013-11-27 01:11:12 +01:00
parent ccad38f2db
commit 301038664e
31 changed files with 141 additions and 86 deletions

View File

@@ -9,9 +9,11 @@
* Created on: Oct 25, 2010
* Author: Miha Vitorovic
*/
#ifdef _WIN32
#define NOMINMAX
#endif
#include <iostream>
#include <fstream>
@@ -321,7 +323,7 @@ void testArrayType(const typename PVT::value_type* rdata, size_t len)
serializationTest(pv);
}
static const boolean bdata[] = {0, 1, 0, 1, 1};
static const epics::pvData::boolean bdata[] = {0, 1, 0, 1, 1};
static const int8 i8data[] = { 0, 1, 2, -1, BYTE_MAX_VALUE, static_cast<int8>(BYTE_MAX_VALUE-1),
static_cast<int8>(BYTE_MIN_VALUE+1), BYTE_MIN_VALUE };