Skip to content

Instantly share code, notes, and snippets.

@LinArcX
Created August 14, 2021 11:20
Show Gist options
  • Save LinArcX/c66dc8bd5afa1868e79feef841a3af23 to your computer and use it in GitHub Desktop.
Save LinArcX/c66dc8bd5afa1868e79feef841a3af23 to your computer and use it in GitHub Desktop.
1>------ Rebuild All started: Project: MyLog4Cpp, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'MyLog4Cpp', configuration 'Debug|Win32'
1>Compiling...
1>BufferingAppender.cpp
1>Category.cpp
1>DllMain.cpp
1>CategoryStream.cpp
1>Configurator.cpp
1>DailyRollingFileAppender.cpp
1>d:\mylog4cpp\src\dailyrollingfileappender.cpp(55) : error C3861: 'time': identifier not found
1>d:\mylog4cpp\src\dailyrollingfileappender.cpp(62) : error C3861: 'localtime_s': identifier not found
1>d:\mylog4cpp\src\dailyrollingfileappender.cpp(95) : error C3861: 'time': identifier not found
1>d:\mylog4cpp\src\dailyrollingfileappender.cpp(155) : error C3861: 'time': identifier not found
1>d:\mylog4cpp\src\dailyrollingfileappender.cpp(160) : error C3861: 'localtime_s': identifier not found
1>DummyThreads.cpp
1>FactoryParams.cpp
1>FileAppender.cpp
1>d:\mylog4cpp\src\fileappender.cpp(37) : warning C4996: 'open' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\io.h(328) : see declaration of 'open'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _open. See online help for details.'
1>d:\mylog4cpp\src\fileappender.cpp(54) : warning C4996: 'close' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\io.h(318) : see declaration of 'close'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _close. See online help for details.'
1>d:\mylog4cpp\src\fileappender.cpp(81) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
1>d:\mylog4cpp\src\fileappender.cpp(81) : warning C4996: 'write' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\io.h(334) : see declaration of 'write'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _write. See online help for details.'
1>d:\mylog4cpp\src\fileappender.cpp(88) : warning C4996: 'open' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\io.h(328) : see declaration of 'open'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _open. See online help for details.'
1>d:\mylog4cpp\src\fileappender.cpp(93) : warning C4996: 'close' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\io.h(318) : see declaration of 'close'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _close. See online help for details.'
1>Filter.cpp
1>FixedContextCategory.cpp
1>HierarchyMaintainer.cpp
1>IdsaAppender.cpp
1>LayoutAppender.cpp
1>LayoutsFactory.cpp
1>LevelEvaluator.cpp
1>Localtime.cpp
1>LoggingEvent.cpp
1>Manipulator.cpp
1>MSThreads.cpp
1>d:\mylog4cpp\src\msthreads.cpp(17) : warning C4996: 'sprintf' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf'
1> Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>Generating Code...
1>Compiling...
1>NDC.cpp
1>NTEventLogAppender.cpp
1>OmniThreads.cpp
1>OstreamAppender.cpp
1>PassThroughLayout.cpp
1>PatternLayout.cpp
1>d:\mylog4cpp\src\patternlayout.cpp(377) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
1>PortabilityImpl.cpp
1>Priority.cpp
1>Properties.cpp
1>d:\mylog4cpp\src\properties.cpp(138) : warning C4996: 'getenv' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\stdlib.h(483) : see declaration of 'getenv'
1> Message: 'This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>PropertyConfigurator.cpp
1>PropertyConfiguratorImpl.cpp
1>PThreads.cpp
1>RemoteSyslogAppender.cpp
1>d:\mylog4cpp\src\remotesyslogappender.cpp(146) : warning C4996: 'sprintf' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf'
1> Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>d:\mylog4cpp\src\remotesyslogappender.cpp(164) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>RollingFileAppender.cpp
1>d:\mylog4cpp\src\rollingfileappender.cpp(41) : warning C4244: 'initializing' : conversion from 'float' to 'unsigned short', possible loss of data
1>d:\mylog4cpp\src\rollingfileappender.cpp(46) : warning C4244: '=' : conversion from 'float' to 'unsigned short', possible loss of data
1>d:\mylog4cpp\src\rollingfileappender.cpp(62) : warning C4996: 'close' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\io.h(318) : see declaration of 'close'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _close. See online help for details.'
1>d:\mylog4cpp\src\rollingfileappender.cpp(81) : warning C4996: 'open' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\io.h(328) : see declaration of 'open'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _open. See online help for details.'
1>d:\mylog4cpp\src\rollingfileappender.cpp(86) : warning C4996: 'lseek' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\io.h(326) : see declaration of 'lseek'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _lseek. See online help for details.'
1>SimpleConfigurator.cpp
1>d:\mylog4cpp\src\simpleconfigurator.cpp(123) : warning C4996: 'dup' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\io.h(320) : see declaration of 'dup'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _dup. See online help for details.'
1>d:\mylog4cpp\src\simpleconfigurator.cpp(123) : warning C4996: 'fileno' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\stdio.h(688) : see declaration of 'fileno'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online help for details.'
1>d:\mylog4cpp\src\simpleconfigurator.cpp(127) : warning C4996: 'dup' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\io.h(320) : see declaration of 'dup'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _dup. See online help for details.'
1>SimpleLayout.cpp
1>SmtpAppender.cpp
1>StringQueueAppender.cpp
1>StringUtil.cpp
1>d:\mylog4cpp\src\stringutil.cpp(50) : warning C4996: '_vsnprintf' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\stdio.h(339) : see declaration of '_vsnprintf'
1> Message: 'This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>SyslogAppender.cpp
1>Generating Code...
1>Compiling...
1>TimeStamp.cpp
1>d:\mylog4cpp\src\timestamp.cpp(38) : warning C4244: '=' : conversion from 'time_t' to 'int', possible loss of data
1>TriggeringEventEvaluatorFactory.cpp
1>Win32DebugAppender.cpp
1>AbortAppender.cpp
1>Appender.cpp
1>AppendersFactory.cpp
1>AppenderSkeleton.cpp
1>BasicConfigurator.cpp
1>d:\mylog4cpp\src\basicconfigurator.cpp(29) : warning C4996: 'dup' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\io.h(320) : see declaration of 'dup'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _dup. See online help for details.'
1>d:\mylog4cpp\src\basicconfigurator.cpp(29) : warning C4996: 'fileno' was declared deprecated
1> c:\program files (x86)\microsoft visual studio 8\vc\include\stdio.h(688) : see declaration of 'fileno'
1> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online help for details.'
1>BasicLayout.cpp
1>Generating Code...
1>Build log was saved at "file://d:\MyLog4Cpp\Debug\BuildLog.htm"
1>MyLog4Cpp - 5 error(s), 23 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment