Open GoogleCodeExporter opened 9 years ago
I was using revision 711 and mingw-get 0.6.2 installation.
Original comment by Vadim.Ka...@gmail.com
on 17 Jan 2014 at 10:36
Hi,
I assume this was using the trunk version of OZW? Could you test the branch
version and see if its still got a issue?
(svn checkout
http://open-zwave.googlecode.com/svn/branches/2013-11-13_release_testing/
open-zwave)
Original comment by jus...@dynam.ac
on 23 Jan 2014 at 4:59
I tried to build from mentioned branch but still build failed however with
another error:
../../../src/platform/windows/LogImpl.cpp:40:1: error: 'errno_t' does not name
a type
errno_t fopen_s(FILE** pFile, const char *filename, const char *mode)
^
In file included from
../../../src/platform/windows/LogImpl.cpp:32:0:../../../src/platform/windows/Log
Impl.h:
In constructor 'OpenZWave::LogImpl::Log
Impl(const string&, bool, bool, OpenZWave::LogLevel, OpenZWave::LogLevel,
OpenZWave::LogLevel)':
../../../src/platform/windows/LogImpl.h:61:8: warning:
'OpenZWave::LogImpl::m_bAppendLog' will be initialized after [-Wreorder]
bool m_bAppendLog; /**< if true, the log file should be appended to any with the same name */
^
../../../src/platform/windows/LogImpl.h:60:8: warning: 'bool
OpenZWave::LogImpl::m_bConsoleOutput' [-Wreorder]
bool m_bConsoleOutput; /**< if true, send log output to console as well as to the file */
^
../../../src/platform/windows/LogImpl.cpp:68:1: warning: when initialized
here [-Wreorder]LogImpl::LogImpl
../../../src/platform/windows/LogImpl.cpp:99:62: error: 'fopen_s' was not
declared in this scope
if( !fopen_s( &pFile, _filename.c_str(), accessType.c_str() ) )
^
../../../src/platform/windows/LogImpl.cpp: In member function 'virtual void
OpenZWave::LogImpl::Write(OpenZWave::LogLevel, uint8, const char*, va_list)':
../../../src/platform/windows/LogImpl.cpp:150:50: error: 'fopen_s' was not
declared in this scope
if( !fopen_s( &pFile, m_filename.c_str(), "a" ) || m_bConsoleOutput )
^
Makefile:48: recipe for target 'LogImpl.o' failed
mingw32-make: *** [LogImpl.o] Error 1
Original comment by Vadim.Ka...@gmail.com
on 1 Feb 2014 at 5:19
I just committed some more fixes to the Trunk in revision 756 - Appreciate if
you can test these ones out
Original comment by jus...@dynam.ac
on 20 Feb 2014 at 6:58
Original issue reported on code.google.com by
Vadim.Ka...@gmail.com
on 17 Jan 2014 at 10:32