|
From: David R. <dre...@mo...> - 2003-04-13 08:24:36
|
Hello,
1. Could you post the changes you needed to make to the custom build
rules for NTEventLogCategories.mc? I will merge them into the current
CVS version.
2. I don't see any errors in the list of warnings that you posted below.
What are the errors?
Regards,
David Resnick
MobileSpear Inc.
-----Original Message-----
From: Conan Obrien [mailto:wha...@ya...]=20
Sent: Friday, April 11, 2003 21:32
To: log...@li...
Subject: [Log4cpp-devel] 0.3.4b VS7
Does anyone have a reliable build of log4cpp using
VS7? The current
build 0.3.4b indicates that it was fixed to be
compatible with VS7 but
that's not the case.
Proper custom build rules for NTEventLogCategories.mc
in the log4cpp
and log4cppDLL projects have to be adjusted. With
these adjustments
the following errors occur upon build:
Task List
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137): see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137): see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137): see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137): see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137): see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137): see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137): see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137): see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137): see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137): see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
d:\MyProjects\log4cpp-0.3.4b\src\PatternLayout.cpp(256):
warning
C4101: 'e' : unreferenced local variable
d:\MyProjects\log4cpp-0.3.4b\src\PatternLayout.cpp(256):
warning
C4101: 'e' : unreferenced local variable
d:\MyProjects\log4cpp-0.3.4b\include\log4cpp\Configurator.hh(21):
warning C4275: non dll-interface class
'std::runtime_error' used as
base for dll-interface class
'log4cpp::ConfigureFailure'
d:\MyProjects\log4cpp-0.3.4b\include\log4cpp\Configurator.hh(21):
warning C4275: non dll-interface class
'std::runtime_error' used as
base for dll-interface class
'log4cpp::ConfigureFailure'
d:\MyProjects\log4cpp-0.3.4b\include\log4cpp\Configurator.hh(21):
warning C4275: non dll-interface class
'std::runtime_error' used as
base for dll-interface class
'log4cpp::ConfigureFailure'
d:\MyProjects\log4cpp-0.3.4b\include\log4cpp\Configurator.hh(21):
warning C4275: non dll-interface class
'std::runtime_error' used as
base for dll-interface class
'log4cpp::ConfigureFailure'
d:\MyProjects\log4cpp-0.3.4b\include\log4cpp\Configurator.hh(21):
warning C4275: non dll-interface class
'std::runtime_error' used as
base for dll-interface class
'log4cpp::ConfigureFailure'
d:\MyProjects\log4cpp-0.3.4b\include\log4cpp\Configurator.hh(21):
warning C4275: non dll-interface class
'std::runtime_error' used as
base for dll-interface class
'log4cpp::ConfigureFailure'
d:\MyProjects\log4cpp-0.3.4b\include\log4cpp\Configurator.hh(21):
warning C4275: non dll-interface class
'std::runtime_error' used as
base for dll-interface class
'log4cpp::ConfigureFailure'
d:\MyProjects\log4cpp-0.3.4b\include\log4cpp\Configurator.hh(21):
warning C4275: non dll-interface class
'std::runtime_error' used as
base for dll-interface class
'log4cpp::ConfigureFailure'
d:\MyProjects\log4cpp-0.3.4b\include\log4cpp\Configurator.hh(21):
warning C4275: non dll-interface class
'std::runtime_error' used as
base for dll-interface class
'log4cpp::ConfigureFailure'
d:\MyProjects\log4cpp-0.3.4b\include\log4cpp\Configurator.hh(21):
warning C4275: non dll-interface class
'std::runtime_error' used as
base for dll-interface class
'log4cpp::ConfigureFailure'
Output
------ Rebuild All started: Project: log4cppDLL,
Configuration:
Release Win32 ------
Deleting intermediate files and output files for
project 'log4cppDLL',
configuration 'Release|Win32'.
Performing Custom Build Step
MC: Compiling
d:\MyProjects\log4cpp-0.3.4b\msvc6\log4cppDLL\..\NTEventLogCategories.mc
Microsoft (R) Incremental Linker Version 7.00.9466
Copyright (C) Microsoft Corporation. All rights
reserved.
Compiling...
Win32DebugAppender.cpp
TimeStamp.cpp
StringUtil.cpp
StringQueueAppender.cpp
SimpleLayout.cpp
SimpleConfigurator.cpp
..\..\include\log4cpp\Configurator.hh(21) : warning
C4275: non
dll-interface class 'std::runtime_error' used as base
for
dll-interface class 'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137) : see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
RollingFileAppender.cpp
RemoteSyslogAppender.cpp
PropertyConfiguratorImpl.cpp
..\..\include\log4cpp\Configurator.hh(21) : warning
C4275: non
dll-interface class 'std::runtime_error' used as base
for
dll-interface class 'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137) : see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
PropertyConfigurator.cpp
..\..\include\log4cpp\Configurator.hh(21) : warning
C4275: non
dll-interface class 'std::runtime_error' used as base
for
dll-interface class 'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137) : see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
Properties.cpp
Priority.cpp
PortabilityImpl.cpp
PatternLayout.cpp
..\..\include\log4cpp\Configurator.hh(21) : warning
C4275: non
dll-interface class 'std::runtime_error' used as base
for
dll-interface class 'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137) : see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
\MyProjects\log4cpp-0.3.4b\src\PatternLayout.cpp(256)
: warning C4101:
'e' : unreferenced local variable
PThreads.cpp
OstreamAppender.cpp
OmniThreads.cpp
NTEventLogAppender.cpp
NDC.cpp
MSThreads.cpp
LoggingEvent.cpp
LayoutAppender.cpp
IdsaAppender.cpp
HierarchyMaintainer.cpp
FixedContextCategory.cpp
Filter.cpp
FileAppender.cpp
DummyThreads.cpp
DllMain.cpp
Configurator.cpp
..\..\include\log4cpp\Configurator.hh(21) : warning
C4275: non
dll-interface class 'std::runtime_error' used as base
for
dll-interface class 'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137) : see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
CategoryStream.cpp
Category.cpp
BasicLayout.cpp
BasicConfigurator.cpp
AppenderSkeleton.cpp
Appender.cpp
Compiling resources...
Linking...
Creating library .\Release/log4cpp.lib and object
.\Release/log4cpp.exp
Build log was saved at
"file://d:\MyProjects\log4cpp-0.3.4b\msvc6\log4cppDLL\Release\BuildLog.h
tm"
log4cppDLL - 5 error(s), 6 warning(s)
------ Rebuild All started: Project: log4cpp,
Configuration: Release
Win32 ------
Deleting intermediate files and output files for
project 'log4cpp',
configuration 'Release|Win32'.
Performing Custom Build Step
MC: Compiling
d:\MyProjects\log4cpp-0.3.4b\msvc6\log4cpp\..\NTEventLogCategories.mc
Microsoft (R) Incremental Linker Version 7.00.9466
Copyright (C) Microsoft Corporation. All rights
reserved.
Compiling...
Win32DebugAppender.cpp
TimeStamp.cpp
StringUtil.cpp
StringQueueAppender.cpp
SimpleLayout.cpp
SimpleConfigurator.cpp
..\..\include\log4cpp\Configurator.hh(21) : warning
C4275: non
dll-interface class 'std::runtime_error' used as base
for
dll-interface class 'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137) : see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
RollingFileAppender.cpp
RemoteSyslogAppender.cpp
PropertyConfiguratorImpl.cpp
..\..\include\log4cpp\Configurator.hh(21) : warning
C4275: non
dll-interface class 'std::runtime_error' used as base
for
dll-interface class 'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137) : see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
PropertyConfigurator.cpp
..\..\include\log4cpp\Configurator.hh(21) : warning
C4275: non
dll-interface class 'std::runtime_error' used as base
for
dll-interface class 'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137) : see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
Properties.cpp
Priority.cpp
PortabilityImpl.cpp
PatternLayout.cpp
..\..\include\log4cpp\Configurator.hh(21) : warning
C4275: non
dll-interface class 'std::runtime_error' used as base
for
dll-interface class 'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137) : see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
\MyProjects\log4cpp-0.3.4b\src\PatternLayout.cpp(256)
: warning C4101:
'e' : unreferenced local variable
PThreads.cpp
OstreamAppender.cpp
OmniThreads.cpp
NTEventLogAppender.cpp
NDC.cpp
MSThreads.cpp
LoggingEvent.cpp
LayoutAppender.cpp
IdsaAppender.cpp
HierarchyMaintainer.cpp
FixedContextCategory.cpp
Filter.cpp
FileAppender.cpp
DummyThreads.cpp
Configurator.cpp
..\..\include\log4cpp\Configurator.hh(21) : warning
C4275: non
dll-interface class 'std::runtime_error' used as base
for
dll-interface class 'log4cpp::ConfigureFailure'
E:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\stdexcept(137) : see declaration of
'std::runtime_error'
..\..\include\log4cpp\Configurator.hh(21) :
see declaration of
'log4cpp::ConfigureFailure'
CategoryStream.cpp
Category.cpp
BasicLayout.cpp
BasicConfigurator.cpp
AppenderSkeleton.cpp
Appender.cpp
Creating library...
Build log was saved at
"file://d:\MyProjects\log4cpp-0.3.4b\msvc6\log4cpp\Release\BuildLog.htm"
log4cpp - 5 error(s), 6 warning(s)
------ Rebuild All started: Project: testNDC,
Configuration: Release
Win32 ------
Deleting intermediate files and output files for
project 'testNDC',
configuration 'Release|Win32'.
Compiling...
testNDC.cpp
Linking...
Creating library .\Release/testNDC.lib and object
.\Release/testNDC.exp
Build log was saved at
"file://d:\MyProjects\log4cpp-0.3.4b\msvc6\testNDC\Release\BuildLog.htm"
testNDC - 0 error(s), 0 warning(s)
------ Rebuild All started: Project: testMain,
Configuration: Release
Win32 ------
Deleting intermediate files and output files for
project 'testMain',
configuration 'Release|Win32'.
Compiling...
testmain.cpp
Linking...
Creating library .\Release/testMain.lib and object
.\Release/testMain.exp
Build log was saved at
"file://d:\MyProjects\log4cpp-0.3.4b\msvc6\testMain\Release\BuildLog.htm
"
testMain - 0 error(s), 0 warning(s)
------ Rebuild All started: Project: testDLL,
Configuration: Release
Win32 ------
Deleting intermediate files and output files for
project 'testDLL',
configuration 'Release|Win32'.
Compiling...
testDLL.cpp
Linking...
Build log was saved at
"file://d:\MyProjects\log4cpp-0.3.4b\msvc6\testDLL\Release\BuildLog.htm"
testDLL - 0 error(s), 0 warning(s)
------ Rebuild All started: Project: testCategory,
Configuration:
Release Win32 ------
Deleting intermediate files and output files for
project
'testCategory', configuration 'Release|Win32'.
Compiling...
testCategory.cpp
Linking...
Creating library .\Release/testCategory.lib and
object
.\Release/testCategory.exp
Build log was saved at
"file://d:\MyProjects\log4cpp-0.3.4b\msvc6\testCategory\Release\BuildLog
.htm"
testCategory - 0 error(s), 0 warning(s)
------ Rebuild All started: Project: testNTEventLog,
Configuration:
Release Win32 ------
Deleting intermediate files and output files for
project
'testNTEventLog', configuration 'Release|Win32'.
Compiling...
testNTEventLog.cpp
Linking...
Creating library .\Release/testNTEventLog.lib and
object
.\Release/testNTEventLog.exp
Build log was saved at
"file://d:\MyProjects\log4cpp-0.3.4b\msvc6\testNTEventLog\Release\BuildL
og.htm"
testNTEventLog - 0 error(s), 0 warning(s)
------ Rebuild All started: Project: testPattern,
Configuration:
Release Win32 ------
Deleting intermediate files and output files for
project
'testPattern', configuration 'Release|Win32'.
Compiling...
testPattern.cpp
Linking...
Creating library .\Release/testPattern.lib and
object
.\Release/testPattern.exp
Build log was saved at
"file://d:\MyProjects\log4cpp-0.3.4b\msvc6\testPattern\Release\BuildLog.
htm"
testPattern - 0 error(s), 0 warning(s)
------ Rebuild All started: Project: testPropConfig,
Configuration:
Release Win32 ------
Deleting intermediate files and output files for
project
'testPropConfig', configuration 'Release|Win32'.
Compiling...
testPropConfig.cpp
Linking...
Creating library .\Release/testPropConfig.lib and
object
.\Release/testPropConfig.exp
Build log was saved at
"file://d:\MyProjects\log4cpp-0.3.4b\msvc6\testPropConfig\Release\BuildL
og.htm"
testPropConfig - 0 error(s), 0 warning(s)
---------------------- Done ----------------------
Rebuild All: 7 succeeded, 2 failed, 0 skipped
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The
debugger=20
for complex code. Debugging C/C++ programs can leave you feeling lost
and=20
disoriented. TotalView can help you find your way. Available on major
UNIX=20
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Log4cpp-devel mailing list
Log...@li...
https://lists.sourceforge.net/lists/listinfo/log4cpp-devel
|