From 62c43eaf53c5f8f4cd744f26a2f8d470733a6490 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Tue, 9 Oct 2012 11:31:55 -0400 Subject: [PATCH] Add Boost version to EDA_BASE_FRAME::CopyVersionInfoToClipboard(). --- common/basicframe.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/common/basicframe.cpp b/common/basicframe.cpp index 0babb48879..ec742b6ac9 100644 --- a/common/basicframe.cpp +++ b/common/basicframe.cpp @@ -44,6 +44,8 @@ #include #include +#include + /// The default auto save interval is 10 minutes. #define DEFAULT_AUTO_SAVE_INTERVAL 600 @@ -497,9 +499,14 @@ void EDA_BASE_FRAME::CopyVersionInfoToClipboard( wxCommandEvent& event ) << info.GetArchName() << wxT( ", " ) << info.GetEndiannessName() << wxT( ", " ) << info.GetPortIdName() << wxT( "\n" ); + // Just in case someone builds KiCad with the platform native of Boost instead of + // the version included with the KiCad source. + tmp << wxT( "Boost version: " ) << ( BOOST_VERSION / 100000 ) << wxT( "." ) + << ( BOOST_VERSION / 100 % 1000 ) << wxT( "." ) << ( BOOST_VERSION % 100 ) << wxT( "\n" ); + tmp << wxT( "Options: " ); - tmp << wxT( " USE_PCBNEW_SEXPR_FILE_FORMAT=" ); + tmp << wxT( "USE_PCBNEW_SEXPR_FILE_FORMAT=" ); #ifdef USE_PCBNEW_SEXPR_FILE_FORMAT tmp << wxT( "ON\n" ); #else