1.31.0 date_time and VC7.1

I'm still getting undefined symbols attempting to use date_time library with Visual Studio.NET 2003 Since the program is so short to demonstrate the problem, I include it here: ================================================================== #include <iostream > #include <string> #include "boost/date_time/posix_time/posix_time.hpp" int main() { boost::posix_time::ptime now = boost::posix_time::second_clock::universal_time(); boost::posix_time::ptime cnow(boost::posix_time::second_clock::universal_time()); std::string xx = to_iso_string(now); std::cout << to_iso_string(boost::posix_time::second_clock::universal_time()) << std::endl; std::cout << now << std::endl; std::cout << xx << std::endl; std::cout << to_iso_string(cnow) << std::endl; return 0; } ================================================================== produces the following output: ------ Build started: Project: OneLineDateTime, Configuration: Debug Win32 ------ Linking... OneLineDateTime.obj : error LNK2019: unresolved external symbol "public: char const * __thiscall boost::gregorian::greg_month::as_long_string(void)const " (?as_long_string@greg_month@gregorian@boost@@QBEPBDXZ) referenced in function "public: static class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl boost::date_time::month_formatter<class boost::gregorian::greg_month,class boost::date_time::iso_format>::format_month(class boost::gregorian::greg_month const &,class std::basic_ostream<char,struct std::char_traits<char> > &)" (?format_month@?$month_formatter@Vgreg_month@gregorian@boost@@Viso_format@date_time@3@@date_time@boost@@SAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@ABVgreg_month@gregorian@3@AAV45@@Z) OneLineDateTime.obj : error LNK2019: unresolved external symbol "public: char const * __thiscall boost::gregorian::greg_month::as_short_string(void)const " (?as_short_string@greg_month@gregorian@boost@@QBEPBDXZ) referenced in function "public: static class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl boost::date_time::month_formatter<class boost::gregorian::greg_month,class boost::date_time::iso_format>::format_month(class boost::gregorian::greg_month const &,class std::basic_ostream<char,struct std::char_traits<char> > &)" (?format_month@?$month_formatter@Vgreg_month@gregorian@boost@@Viso_format@date_time@3@@date_time@boost@@SAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@ABVgreg_month@gregorian@3@AAV45@@Z) Debug/OneLineDateTime.exe : fatal error LNK1120: 2 unresolved externals Build log was saved at "file://c:\Projects\Programming\SeriousTesting\OneLineDateTime\Debug\BuildLog.htm" OneLineDateTime - 3 error(s), 0 warning(s) ---------------------- Done ---------------------- Build: 0 succeeded, 1 failed, 0 skipped Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

On Mon, 02 Feb 2004 09:18:01 -0700, Victor A. Wagner, Jr. wrote
I'm still getting undefined symbols attempting to use date_time library with Visual Studio.NET 2003
I assume you built the libary and included a path to it in your project file? The issue is you can't link with the methods built into the library. We will have to wait for John if this is supposed to to work magically with the autolink stuff... Jeff

Yes, I mean the autolink stuff. I trust we are NOT going to release 1.31 withOUT the autolink stuff working. At Monday 2004-02-02 15:33, you wrote:
On Mon, 02 Feb 2004 09:18:01 -0700, Victor A. Wagner, Jr. wrote
I'm still getting undefined symbols attempting to use date_time library with Visual Studio.NET 2003
I assume you built the libary and included a path to it in your project file? The issue is you can't link with the methods built into the library. We will have to wait for John if this is supposed to to work magically with the autolink stuff...
Jeff _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

Surely you jest!!! you're going to break EVERY program out there that uses the date_time stuff!!!! THIS IS ABSOLUTELY UNACCEPTABLE!!! I've been bitching about this "let's include the revision number" in the library name junk since it was first proposed and was _assured_ that it wouldn't be a problem for the user. well it IS a problem for the user At Tuesday 2004-02-03 05:36, you wrote:
At 04:41 AM 2/3/2004, Victor A. Wagner, Jr. wrote:
Yes, I mean the autolink stuff. I trust we are NOT going to release 1.31 withOUT the autolink stuff working.
Sorry. Too late.
--Beman
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

At 11:40 AM 2/3/2004, Victor A. Wagner, Jr. wrote:
Surely you jest!!! you're going to break EVERY program out there that uses the date_time stuff!!!! THIS IS ABSOLUTELY UNACCEPTABLE!!! I've been bitching about this "let's include the revision number" in the library name junk since it was first proposed and was _assured_ that it wouldn't be a problem for the user.
well it IS a problem for the user
I'm not able to reproduce the problem here. I just tried again to be sure. In the recent past, I have sometimes had trouble getting libraries to resolve, but it has always turned out to be operator error on my part. If you think we should be doing additional testing, great. Develop a set of tests and submit them. But that isn't something for 1.31.0. --Beman

It may be operator error here also... see my other message but NO documentation anywhere suggests that enforcing standard C++ using MSVC will affect one's ability to use any of the boost libraries. I've found that using the /Za option breaks a lot of things for using boost. I believe we've gone a bit overboard in our requirements for MSVC for example, all of my date_time stuff works JUST fine....even using /Za if I simply add a line to auto_link.hpp which will accept _MSC_VER >= 1310 I note that another test from a colleague (boost threads) won't compile if /Za is turned on. the visualc.hpp file in config turns off the Win32API if extensions aren't enabled. Say what?? what do the language extensions have to do with libraries being called? I'll be happy to add my small tests to the test suite as soon as I figure out how to incorporate them... right now, I just build 3 different "solutions" I have every morning after updating from CVS. At Tuesday 2004-02-03 10:44, you wrote:
At 11:40 AM 2/3/2004, Victor A. Wagner, Jr. wrote:
Surely you jest!!! you're going to break EVERY program out there that uses the date_time stuff!!!! THIS IS ABSOLUTELY UNACCEPTABLE!!! I've been bitching about this "let's include the revision number" in the library name junk since it was first proposed and was _assured_ that it wouldn't be a problem for the user.
well it IS a problem for the user
I'm not able to reproduce the problem here. I just tried again to be sure. In the recent past, I have sometimes had trouble getting libraries to resolve, but it has always turned out to be operator error on my part.
If you think we should be doing additional testing, great. Develop a set of tests and submit them. But that isn't something for 1.31.0.
--Beman _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

Victor A. Wagner, Jr. <vawjr@rudbek.com> wrote:
I note that another test from a colleague (boost threads) won't compile if /Za is turned on.
I think that's because boost threads are using Windows API. Unfortunatelly <windows.h> (and other Platform SDK headers) cannot be compiled without language extensions. Besides obvious stuff, like __dllimport , there are other problems like anonymous structures etc. So, currently you simply cannot use /Za switch with some libraries :( However, I'd recommend using /Zc:wchar_t and /Zc:forScope switches instead of /Za everywhere - that will not cause troubles, if used consistently. B.

I understand that it won't work for SOME things. I think boost are complaining TOO much about it though. We do us wchar_t and forScope already, I was working under the assumption (probably erroneous) that /Za would help me w/ portability issues. At Tuesday 2004-02-03 14:28, you wrote:
Victor A. Wagner, Jr. <vawjr@rudbek.com> wrote:
I note that another test from a colleague (boost threads) won't compile if /Za is turned on.
I think that's because boost threads are using Windows API. Unfortunatelly <windows.h> (and other Platform SDK headers) cannot be compiled without language extensions. Besides obvious stuff, like __dllimport , there are other problems like anonymous structures etc. So, currently you simply cannot use /Za switch with some libraries :( However, I'd recommend using /Zc:wchar_t and /Zc:forScope switches instead of /Za everywhere - that will not cause troubles, if used consistently.
B.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

"Victor A. Wagner, Jr." <vawjr@rudbek.com> writes:
I understand that it won't work for SOME things. I think boost are complaining TOO much about it though. We do us wchar_t and forScope already, I was working under the assumption (probably erroneous) that /Za would help me w/ portability issues.
It's really ironic to read that you're saying boost are complaining too much. Even the Microsoft compiler developers are saying that fixing bugs in /Za is a very low priority for them because practically nobody uses it and it's almost useless for Windows development. I don't see why supporting every oddball compiler option should suddenly become a priority for us. -- Dave Abrahams Boost Consulting www.boost-consulting.com

Victor A. Wagner, Jr. wrote:
It may be operator error here also... see my other message but NO documentation anywhere suggests that enforcing standard C++ using MSVC will affect one's ability to use any of the boost libraries.
I've found that using the /Za option breaks a lot of things for using boost. I believe we've gone a bit overboard in our requirements for MSVC for example, all of my date_time stuff works JUST fine....even using /Za if I simply add a line to auto_link.hpp which will accept _MSC_VER
= 1310
I note that another test from a colleague (boost threads) won't compile if /Za is turned on. the visualc.hpp file in config turns off the Win32API if extensions aren't enabled. Say what?? what do the language extensions have to do with libraries being called?
I haven't tested it so I can't be sure but I believe that if /Za is turned on, you can't include any windows.h without many errors occurring. I believe the windows.h header file has always failed when one is in C++ standard mode ( /Za ). There has been talk by MS of changing it to be C++ standard compliant but I don't think that has been done in VC7.1.

I've found that using the /Za option breaks a lot of things for using boost. I believe we've gone a bit overboard in our requirements for MSVC for example, all of my date_time stuff works JUST fine....even using /Za if I simply add a line to auto_link.hpp which will accept _MSC_VER >= 1310
I note that another test from a colleague (boost threads) won't compile if /Za is turned on. the visualc.hpp file in config turns off the Win32API if extensions aren't enabled. Say what?? what do the language extensions have to do with libraries being called?
The problem is that with /Za you can't compile <windows.h> (or at least not last time I checked), there is also an assumption that libraries are compiled with the same options as your code, I appreciate that in some limited cases that isn't always a requirement, but it usually is.... John.

John Maddock wrote:
The problem is that with /Za you can't compile <windows.h> (or at least not last time I checked), there is also an assumption that libraries are compiled with the same options as your code, I appreciate that in some limited cases that isn't always a requirement, but it usually is....
Yesterday, I was looking through the 1.30.2 distribution in order to find out what the options were that bjam selected for the vc7.1 build, I found it a bit of a pain, perhaps it would be useful to make this a FAQ along with a note about ensuring you have selected the right compiler from the command line before bjam'ing (by running vcvars32.bat). Searching the web site didn't give many answers only hints, and I knew what was needed to fix the problem I had - the errors are not always that useful from the compiler :-) Perhaps there is some magic bjam invocation needed to output the CFLAGS so that the FAQ doesn't get out of sync with the version of boost. Kevin -- | Kevin Wheatley | These are the opinions of | | Senior Do-er of Technical Things | nobody and are not shared | | Cinesite (Europe) Ltd | by my employers |

OK apparently it's just a leftover from the VC++6.0 days. (or maybe early VC7) IF one doesn't set the option to "disable language extensions" auto_link will work just fine. I'm personally puzzled as to why we still need the "language extensions" to use the boost library (since I altered auto_link.hpp on MY system to allow ANY _MSC_VER >= 1300 and it appears to be functioning) I DO note there is a comment in visualc.hpp that says /Za problem with VC7 =========================================================== 1.14 (johnmadd 11-May-02): #if !defined(_MSC_EXTENSIONS) && !defined(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS) // VC7 bug with /Za 1.9 (johnmadd 28-Mar-02): # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS 1.9 (johnmadd 28-Mar-02): #endif =========================================================== That was a while back. Does VC7.1 still have the same problem? Are we warranted in disabling auto-link because _MSC_EXTENSIONS isn't #define'd? If we're going to leave the libraries the way they are, perhaps some documentation somewhere that mentions these requirements for options in order to use the libraries is indicated. At Tuesday 2004-02-03 09:40, you wrote:
Surely you jest!!! you're going to break EVERY program out there that uses the date_time stuff!!!! THIS IS ABSOLUTELY UNACCEPTABLE!!! I've been bitching about this "let's include the revision number" in the library name junk since it was first proposed and was _assured_ that it wouldn't be a problem for the user.
well it IS a problem for the user
At Tuesday 2004-02-03 05:36, you wrote:
At 04:41 AM 2/3/2004, Victor A. Wagner, Jr. wrote:
Yes, I mean the autolink stuff. I trust we are NOT going to release 1.31 withOUT the autolink stuff working.
Sorry. Too late.
--Beman
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law" _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

On Tue, 03 Feb 2004 11:27:47 -0700, Victor A. Wagner, Jr. wrote:
I'm personally puzzled as to why we still need the "language extensions" to use the boost library (since I altered auto_link.hpp on MY system to allow
Well, actually you may use most of boost without "language extensions" (with exception of threads and maybe few other libraries, depending on <windows.h>) . It's just that C++ standard does not have anything similar to autolink, thus this particular feature is depending on compiler extension. If you turn this extension off, you do not have autolink feature. B.

OK apparently it's just a leftover from the VC++6.0 days. (or maybe early VC7)
IF one doesn't set the option to "disable language extensions" auto_link will work just fine. I'm personally puzzled as to why we still need the "language extensions" to use the boost library (since I altered auto_link.hpp on MY system to allow ANY _MSC_VER >= 1300 and it appears to be functioning) I DO note there is a comment in visualc.hpp that says /Za problem with VC7
OK, I that was lack just lack of testing time on my part - the auto-link code hasn't been tested with /Za, so I don't know which compilers (vc6/7/7.1 and Intel etc) support it in strict mode, when I get more time I'll look into it, Thanks, John.

"Victor A. Wagner, Jr." <vawjr@rudbek.com> writes:
Surely you jest!!! you're going to break EVERY program out there that uses the date_time stuff!!!! THIS IS ABSOLUTELY UNACCEPTABLE!!!
Typical Wagnerian hyperbole. Please tone it down, for *it* is unacceptable. -- Dave Abrahams Boost Consulting www.boost-consulting.com

I'm still getting undefined symbols attempting to use date_time library with Visual Studio.NET 2003
Works fine for me with current cvs-release-branch. Can you try: 1) define BOOST_LIB_DIAGNOSTIC and verify that the name of the date_time lib that will be linked to gets printed out. 2) If that fails, pre-process the source and verify that boost/config/auto_link.hpp is getting included. 3) If it's not then why not? Are you defining BOOST_ALL_NO_LIB or BOOST_DATE_TIME_NO_LIB ? Are your include paths correctly set up? However I do see some pesky warnings from vc7.1 that Jeff may want to try and suppress in future (reproduced below). John. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling... scrap.cpp c:\data\boost\release\boost\boost\date_time\posix_time\conversion.hpp(26) : warning C4244: 'argument' : conversion from 'time_t' to 'long', possible loss of data c:\data\boost\release\boost\boost\date_time\time_system_counted.hpp(57) : warning C4244: 'initializing' : conversion from 'boost::date_time::counted_time_rep<config>::int_type' to 'boost::date_time::gregorian_calendar_base<ymd_type_,date_int_type_>::date_i nt_type', possible loss of data with [ config=boost::posix_time::millisec_posix_time_system_config ] and [ ymd_type_=boost::gregorian::greg_year_month_day, date_int_type_=boost::date_time::int_adapter<unsigned long>::int_type ] c:\data\boost\release\boost\boost\date_time\time_system_counted.hpp(52) : while compiling class-template member function 'boost::date_time::counted_time_rep<config>::date_type boost::date_time::counted_time_rep<config>::date(void) const' with [ config=boost::posix_time::millisec_posix_time_system_config ] c:\data\boost\release\boost\boost\date_time\time_system_counted.hpp(111) : see reference to class template instantiation 'boost::date_time::counted_time_rep<config>' being compiled with [ config=boost::posix_time::millisec_posix_time_system_config ] c:\data\boost\release\boost\boost\date_time\time.hpp(52) : see reference to class template instantiation 'boost::date_time::counted_time_system<time_rep>' being compiled with [ time_rep=boost::posix_time::int64_time_rep ] c:\data\boost\release\boost\boost\date_time\posix_time\ptime.hpp(32) : see reference to class template instantiation 'boost::date_time::base_time<T,time_system>' being compiled with [ T=boost::posix_time::ptime, time_system=boost::posix_time::posix_time_system ] c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4511: 'boost::detail::lexical_stream<Target,Source>' : copy constructor could not be generated with [ Target=unsigned short, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled with [ Target=unsigned short, Source=std::string ] c:\data\boost\release\boost\boost\date_time\date_parsing.hpp(106) : see reference to function template instantiation 'Target boost::lexical_cast<unsigned short,Type>(Source)' being compiled with [ Target=unsigned short, Type=std::string, Source=std::string ] c:\data\boost\release\boost\boost\date_time\gregorian\parsers.hpp(24) : see reference to function template instantiation 'date_type boost::date_time::parse_date<boost::gregorian::date>(const std::string &,int)' being compiled with [ date_type=boost::gregorian::date ] c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4512: 'boost::detail::lexical_stream<Target,Source>' : assignment operator could not be generated with [ Target=unsigned short, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4511: 'boost::detail::lexical_stream<Target,Source>' : copy constructor could not be generated with [ Target=int, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled with [ Target=int, Source=std::string ] c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(42) : see reference to function template instantiation 'Target boost::lexical_cast<int,Type>(Source)' being compiled with [ Target=int, Type=std::string, Source=std::string ] c:\data\boost\release\boost\boost\date_time\posix_time\time_parsers.hpp(27) : see reference to function template instantiation 'time_duration boost::date_time::parse_delimited_time_duration<boost::posix_time::time_dura tion>(const std::string &)' being compiled with [ time_duration=boost::posix_time::time_duration ] c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4512: 'boost::detail::lexical_stream<Target,Source>' : assignment operator could not be generated with [ Target=int, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4511: 'boost::detail::lexical_stream<Target,Source>' : copy constructor could not be generated with [ Target=boost::int64_t, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled with [ Target=boost::int64_t, Source=std::string ] c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(59) : see reference to function template instantiation 'Target boost::lexical_cast<boost::int64_t,Type>(Source)' being compiled with [ Target=boost::int64_t, Type=std::string, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4512: 'boost::detail::lexical_stream<Target,Source>' : assignment operator could not be generated with [ Target=boost::int64_t, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(131) : warning C4127: conditional expression is constant c:\data\boost\release\boost\boost\lexical_cast.hpp(127) : while compiling class-template member function 'boost::detail::lexical_stream<Target,Source>::lexical_stream(void)' with [ Target=unsigned short, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled with [ Target=unsigned short, Source=std::string ] c:\data\boost\release\boost\boost\date_time\date_parsing.hpp(106) : see reference to function template instantiation 'Target boost::lexical_cast<unsigned short,Type>(Source)' being compiled with [ Target=unsigned short, Type=std::string, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(133) : warning C4127: conditional expression is constant c:\data\boost\release\boost\boost\lexical_cast.hpp(131) : warning C4127: conditional expression is constant c:\data\boost\release\boost\boost\lexical_cast.hpp(127) : while compiling class-template member function 'boost::detail::lexical_stream<Target,Source>::lexical_stream(void)' with [ Target=int, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled with [ Target=int, Source=std::string ] c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(42) : see reference to function template instantiation 'Target boost::lexical_cast<int,Type>(Source)' being compiled with [ Target=int, Type=std::string, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(133) : warning C4127: conditional expression is constant c:\data\boost\release\boost\boost\lexical_cast.hpp(131) : warning C4127: conditional expression is constant c:\data\boost\release\boost\boost\lexical_cast.hpp(127) : while compiling class-template member function 'boost::detail::lexical_stream<Target,Source>::lexical_stream(void)' with [ Target=boost::int64_t, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled with [ Target=boost::int64_t, Source=std::string ] c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(59) : see reference to function template instantiation 'Target boost::lexical_cast<boost::int64_t,Type>(Source)' being compiled with [ Target=boost::int64_t, Type=std::string, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(133) : warning C4127: conditional expression is constant c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(139) : warning C4100: 'wd' : unreferenced formal parameter c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(140) : while compiling class-template member function 'void boost::date_time::date_names_put<Config>::do_put_weekday_short(boost::date_t ime::date_names_put<Config>::iter_type &,boost::date_time::date_names_put<Config>::weekday_enum) const' with [ Config=boost::gregorian::greg_facet_config ] c:\data\boost\release\boost\boost\date_time\date_formatting_locales.hpp(219) : see reference to class template instantiation 'boost::date_time::date_names_put<Config>' being compiled with [ Config=boost::gregorian::greg_facet_config ] c:\data\boost\release\boost\boost\date_time\date_formatting_locales.hpp(210) : while compiling class-template member function 'void boost::date_time::ostream_date_formatter<date_type,facet_type,charT>::date_p ut(const date_type &,boost::date_time::ostream_date_formatter<date_type,facet_type,charT>::ostr eam_type &)' with [ date_type=boost::gregorian::date, facet_type=boost::gregorian::greg_base_facet, charT=char ] c:\data\boost\release\boost\boost\date_time\gregorian\greg_facet.hpp(48) : see reference to class template instantiation 'boost::date_time::ostream_date_formatter<date_type,facet_type,charT>' being compiled with [ date_type=boost::gregorian::date, facet_type=boost::gregorian::greg_base_facet, charT=char ] c:\data\boost\release\boost\boost\date_time\time_formatting_streams.hpp(76) : see reference to function template instantiation 'std::basic_ostream<_Elem,_Traits> &boost::gregorian::operator <<<char,std::char_traits<char>>(std::basic_ostream<_Elem,_Traits> &,const boost::gregorian::date &)' being compiled with [ _Elem=char, _Traits=std::char_traits<char> ] c:\data\boost\release\boost\boost\date_time\time_formatting_streams.hpp(74) : while compiling class-template member function 'void boost::date_time::ostream_time_formatter<time_type,charT>::time_put(const time_type &,boost::date_time::ostream_time_formatter<time_type,charT>::ostream_type &)' with [ time_type=boost::posix_time::ptime, charT=char ] c:\data\boost\release\boost\boost\date_time\posix_time\time_formatters.hpp(2 26) : see reference to class template instantiation 'boost::date_time::ostream_time_formatter<time_type,charT>' being compiled with [ time_type=boost::posix_time::ptime, charT=char ] \data\boost\develop\boost\msvc\regex\scrap\scrap.cpp(14) : see reference to function template instantiation 'std::basic_ostream<_Elem,_Traits> &boost::posix_time::operator <<<char,std::char_traits<char>>(std::basic_ostream<_Elem,_Traits> &,const boost::posix_time::ptime &)' being compiled with [ _Elem=char, _Traits=std::char_traits<char> ] c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(139) : warning C4100: 'oitr' : unreferenced formal parameter c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(142) : warning C4100: 'wd' : unreferenced formal parameter c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(143) : while compiling class-template member function 'void boost::date_time::date_names_put<Config>::do_put_weekday_long(boost::date_ti me::date_names_put<Config>::iter_type &,boost::date_time::date_names_put<Config>::weekday_enum) const' with [ Config=boost::gregorian::greg_facet_config ] c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(142) : warning C4100: 'oitr' : unreferenced formal parameter c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4511: 'boost::detail::lexical_stream<Target,Source>' : copy constructor could not be generated with [ Target=short, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled with [ Target=short, Source=std::string ] c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(138) : see reference to function template instantiation 'Target boost::lexical_cast<short,Type>(Source)' being compiled with [ Target=short, Type=std::string, Source=std::string ] c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(172) : see reference to function template instantiation 'time_duration boost::date_time::parse_undelimited_time_duration<time_duration>(const std::string &)' being compiled with [ time_duration=time_duration ] c:\data\boost\release\boost\boost\date_time\posix_time\time_parsers.hpp(35) : see reference to function template instantiation 'time_type boost::date_time::parse_iso_time<boost::posix_time::ptime>(const std::string &,char)' being compiled with [ time_type=boost::posix_time::ptime ] c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4512: 'boost::detail::lexical_stream<Target,Source>' : assignment operator could not be generated with [ Target=short, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(131) : warning C4127: conditional expression is constant c:\data\boost\release\boost\boost\lexical_cast.hpp(127) : while compiling class-template member function 'boost::detail::lexical_stream<Target,Source>::lexical_stream(void)' with [ Target=short, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled with [ Target=short, Source=std::string ] c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(138) : see reference to function template instantiation 'Target boost::lexical_cast<short,Type>(Source)' being compiled with [ Target=short, Type=std::string, Source=std::string ] c:\data\boost\release\boost\boost\lexical_cast.hpp(133) : warning C4127: conditional expression is constant Linking... Build log was saved at "file://c:\data\boost\develop\boost\Vs7\Scrap\Debug\BuildLog.htm" scrap - 0 error(s), 22 warning(s) ---------------------- Done ---------------------- Rebuild All: 1 succeeded, 0 failed, 0 skipped

comment embedded At Tuesday 2004-02-03 05:01, you wrote:
I'm still getting undefined symbols attempting to use date_time library with Visual Studio.NET 2003
Works fine for me with current cvs-release-branch.
Can you try:
1) define BOOST_LIB_DIAGNOSTIC and verify that the name of the date_time lib that will be linked to gets printed out.
nothing gets printed out
2) If that fails, pre-process the source and verify that boost/config/auto_link.hpp is getting included.
I turned on "show includes" and it does NOT get included
3) If it's not then why not? Are you defining BOOST_ALL_NO_LIB or BOOST_DATE_TIME_NO_LIB ? Are your include paths correctly set up?
I define NO symbols in my code (except BOOST_LIB_DIAGNOSTIC). I use cvs to update my source tree and bjam to install. The files being included (according to the log from vs.net2003) are from the install directory I will attempt to get vs to give me the preprocessor output and see if I can figure out _why_ it's not including auto_link.hpp
However I do see some pesky warnings from vc7.1 that Jeff may want to try and suppress in future (reproduced below).
John.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling...
scrap.cpp
c:\data\boost\release\boost\boost\date_time\posix_time\conversion.hpp(26) : warning C4244: 'argument' : conversion from 'time_t' to 'long', possible loss of data
c:\data\boost\release\boost\boost\date_time\time_system_counted.hpp(57) : warning C4244: 'initializing' : conversion from 'boost::date_time::counted_time_rep<config>::int_type' to 'boost::date_time::gregorian_calendar_base<ymd_type_,date_int_type_>::date_i nt_type', possible loss of data
with
[
config=boost::posix_time::millisec_posix_time_system_config
]
and
[
ymd_type_=boost::gregorian::greg_year_month_day,
date_int_type_=boost::date_time::int_adapter<unsigned long>::int_type
]
c:\data\boost\release\boost\boost\date_time\time_system_counted.hpp(52) : while compiling class-template member function 'boost::date_time::counted_time_rep<config>::date_type boost::date_time::counted_time_rep<config>::date(void) const'
with
[
config=boost::posix_time::millisec_posix_time_system_config
]
c:\data\boost\release\boost\boost\date_time\time_system_counted.hpp(111) : see reference to class template instantiation 'boost::date_time::counted_time_rep<config>' being compiled
with
[
config=boost::posix_time::millisec_posix_time_system_config
]
c:\data\boost\release\boost\boost\date_time\time.hpp(52) : see reference to class template instantiation 'boost::date_time::counted_time_system<time_rep>' being compiled
with
[
time_rep=boost::posix_time::int64_time_rep
]
c:\data\boost\release\boost\boost\date_time\posix_time\ptime.hpp(32) : see reference to class template instantiation 'boost::date_time::base_time<T,time_system>' being compiled
with
[
T=boost::posix_time::ptime,
time_system=boost::posix_time::posix_time_system
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4511: 'boost::detail::lexical_stream<Target,Source>' : copy constructor could not be generated
with
[
Target=unsigned short,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=unsigned short,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\date_parsing.hpp(106) : see reference to function template instantiation 'Target boost::lexical_cast<unsigned short,Type>(Source)' being compiled
with
[
Target=unsigned short,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\gregorian\parsers.hpp(24) : see reference to function template instantiation 'date_type boost::date_time::parse_date<boost::gregorian::date>(const std::string &,int)' being compiled
with
[
date_type=boost::gregorian::date
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4512: 'boost::detail::lexical_stream<Target,Source>' : assignment operator could not be generated
with
[
Target=unsigned short,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4511: 'boost::detail::lexical_stream<Target,Source>' : copy constructor could not be generated
with
[
Target=int,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=int,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(42) : see reference to function template instantiation 'Target boost::lexical_cast<int,Type>(Source)' being compiled
with
[
Target=int,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\posix_time\time_parsers.hpp(27) : see reference to function template instantiation 'time_duration boost::date_time::parse_delimited_time_duration<boost::posix_time::time_dura tion>(const std::string &)' being compiled
with
[
time_duration=boost::posix_time::time_duration
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4512: 'boost::detail::lexical_stream<Target,Source>' : assignment operator could not be generated
with
[
Target=int,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4511: 'boost::detail::lexical_stream<Target,Source>' : copy constructor could not be generated
with
[
Target=boost::int64_t,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=boost::int64_t,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(59) : see reference to function template instantiation 'Target boost::lexical_cast<boost::int64_t,Type>(Source)' being compiled
with
[
Target=boost::int64_t,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4512: 'boost::detail::lexical_stream<Target,Source>' : assignment operator could not be generated
with
[
Target=boost::int64_t,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(131) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\lexical_cast.hpp(127) : while compiling class-template member function 'boost::detail::lexical_stream<Target,Source>::lexical_stream(void)'
with
[
Target=unsigned short,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=unsigned short,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\date_parsing.hpp(106) : see reference to function template instantiation 'Target boost::lexical_cast<unsigned short,Type>(Source)' being compiled
with
[
Target=unsigned short,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(133) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\lexical_cast.hpp(131) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\lexical_cast.hpp(127) : while compiling class-template member function 'boost::detail::lexical_stream<Target,Source>::lexical_stream(void)'
with
[
Target=int,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=int,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(42) : see reference to function template instantiation 'Target boost::lexical_cast<int,Type>(Source)' being compiled
with
[
Target=int,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(133) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\lexical_cast.hpp(131) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\lexical_cast.hpp(127) : while compiling class-template member function 'boost::detail::lexical_stream<Target,Source>::lexical_stream(void)'
with
[
Target=boost::int64_t,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=boost::int64_t,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(59) : see reference to function template instantiation 'Target boost::lexical_cast<boost::int64_t,Type>(Source)' being compiled
with
[
Target=boost::int64_t,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(133) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(139) : warning C4100: 'wd' : unreferenced formal parameter
c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(140) : while compiling class-template member function 'void boost::date_time::date_names_put<Config>::do_put_weekday_short(boost::date_t ime::date_names_put<Config>::iter_type &,boost::date_time::date_names_put<Config>::weekday_enum) const'
with
[
Config=boost::gregorian::greg_facet_config
]
c:\data\boost\release\boost\boost\date_time\date_formatting_locales.hpp(219) : see reference to class template instantiation 'boost::date_time::date_names_put<Config>' being compiled
with
[
Config=boost::gregorian::greg_facet_config
]
c:\data\boost\release\boost\boost\date_time\date_formatting_locales.hpp(210) : while compiling class-template member function 'void boost::date_time::ostream_date_formatter<date_type,facet_type,charT>::date_p ut(const date_type &,boost::date_time::ostream_date_formatter<date_type,facet_type,charT>::ostr eam_type &)'
with
[
date_type=boost::gregorian::date,
facet_type=boost::gregorian::greg_base_facet,
charT=char
]
c:\data\boost\release\boost\boost\date_time\gregorian\greg_facet.hpp(48) : see reference to class template instantiation 'boost::date_time::ostream_date_formatter<date_type,facet_type,charT>' being compiled
with
[
date_type=boost::gregorian::date,
facet_type=boost::gregorian::greg_base_facet,
charT=char
]
c:\data\boost\release\boost\boost\date_time\time_formatting_streams.hpp(76) : see reference to function template instantiation 'std::basic_ostream<_Elem,_Traits> &boost::gregorian::operator <<<char,std::char_traits<char>>(std::basic_ostream<_Elem,_Traits> &,const boost::gregorian::date &)' being compiled
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
c:\data\boost\release\boost\boost\date_time\time_formatting_streams.hpp(74) : while compiling class-template member function 'void boost::date_time::ostream_time_formatter<time_type,charT>::time_put(const time_type &,boost::date_time::ostream_time_formatter<time_type,charT>::ostream_type &)'
with
[
time_type=boost::posix_time::ptime,
charT=char
]
c:\data\boost\release\boost\boost\date_time\posix_time\time_formatters.hpp(2 26) : see reference to class template instantiation 'boost::date_time::ostream_time_formatter<time_type,charT>' being compiled
with
[
time_type=boost::posix_time::ptime,
charT=char
]
\data\boost\develop\boost\msvc\regex\scrap\scrap.cpp(14) : see reference to function template instantiation 'std::basic_ostream<_Elem,_Traits> &boost::posix_time::operator <<<char,std::char_traits<char>>(std::basic_ostream<_Elem,_Traits> &,const boost::posix_time::ptime &)' being compiled
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(139) : warning C4100: 'oitr' : unreferenced formal parameter
c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(142) : warning C4100: 'wd' : unreferenced formal parameter
c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(143) : while compiling class-template member function 'void boost::date_time::date_names_put<Config>::do_put_weekday_long(boost::date_ti me::date_names_put<Config>::iter_type &,boost::date_time::date_names_put<Config>::weekday_enum) const'
with
[
Config=boost::gregorian::greg_facet_config
]
c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(142) : warning C4100: 'oitr' : unreferenced formal parameter
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4511: 'boost::detail::lexical_stream<Target,Source>' : copy constructor could not be generated
with
[
Target=short,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=short,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(138) : see reference to function template instantiation 'Target boost::lexical_cast<short,Type>(Source)' being compiled
with
[
Target=short,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(172) : see reference to function template instantiation 'time_duration boost::date_time::parse_undelimited_time_duration<time_duration>(const std::string &)' being compiled
with
[
time_duration=time_duration
]
c:\data\boost\release\boost\boost\date_time\posix_time\time_parsers.hpp(35) : see reference to function template instantiation 'time_type boost::date_time::parse_iso_time<boost::posix_time::ptime>(const std::string &,char)' being compiled
with
[
time_type=boost::posix_time::ptime
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4512: 'boost::detail::lexical_stream<Target,Source>' : assignment operator could not be generated
with
[
Target=short,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(131) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\lexical_cast.hpp(127) : while compiling class-template member function 'boost::detail::lexical_stream<Target,Source>::lexical_stream(void)'
with
[
Target=short,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=short,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(138) : see reference to function template instantiation 'Target boost::lexical_cast<short,Type>(Source)' being compiled
with
[
Target=short,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(133) : warning C4127: conditional expression is constant
Linking...
Build log was saved at "file://c:\data\boost\develop\boost\Vs7\Scrap\Debug\BuildLog.htm"
scrap - 0 error(s), 22 warning(s)
---------------------- Done ----------------------
Rebuild All: 1 succeeded, 0 failed, 0 skipped
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

OOPS, it (auto_link.hpp) DOES get included. I don't see how I missed it the first time still no message and still the missings... I'm trying to track the preprocessor output (mostly blank lines) At Tuesday 2004-02-03 08:55, you wrote:
comment embedded At Tuesday 2004-02-03 05:01, you wrote:
I'm still getting undefined symbols attempting to use date_time library with Visual Studio.NET 2003
Works fine for me with current cvs-release-branch.
Can you try:
1) define BOOST_LIB_DIAGNOSTIC and verify that the name of the date_time lib that will be linked to gets printed out.
nothing gets printed out
2) If that fails, pre-process the source and verify that boost/config/auto_link.hpp is getting included.
I turned on "show includes" and it does NOT get included
3) If it's not then why not? Are you defining BOOST_ALL_NO_LIB or BOOST_DATE_TIME_NO_LIB ? Are your include paths correctly set up?
I define NO symbols in my code (except BOOST_LIB_DIAGNOSTIC). I use cvs to update my source tree and bjam to install. The files being included (according to the log from vs.net2003) are from the install directory I will attempt to get vs to give me the preprocessor output and see if I can figure out _why_ it's not including auto_link.hpp
However I do see some pesky warnings from vc7.1 that Jeff may want to try and suppress in future (reproduced below).
John.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling...
scrap.cpp
c:\data\boost\release\boost\boost\date_time\posix_time\conversion.hpp(26) : warning C4244: 'argument' : conversion from 'time_t' to 'long', possible loss of data
c:\data\boost\release\boost\boost\date_time\time_system_counted.hpp(57) : warning C4244: 'initializing' : conversion from 'boost::date_time::counted_time_rep<config>::int_type' to 'boost::date_time::gregorian_calendar_base<ymd_type_,date_int_type_>::date_i nt_type', possible loss of data
with
[
config=boost::posix_time::millisec_posix_time_system_config
]
and
[
ymd_type_=boost::gregorian::greg_year_month_day,
date_int_type_=boost::date_time::int_adapter<unsigned long>::int_type
]
c:\data\boost\release\boost\boost\date_time\time_system_counted.hpp(52) : while compiling class-template member function 'boost::date_time::counted_time_rep<config>::date_type boost::date_time::counted_time_rep<config>::date(void) const'
with
[
config=boost::posix_time::millisec_posix_time_system_config
]
c:\data\boost\release\boost\boost\date_time\time_system_counted.hpp(111) : see reference to class template instantiation 'boost::date_time::counted_time_rep<config>' being compiled
with
[
config=boost::posix_time::millisec_posix_time_system_config
]
c:\data\boost\release\boost\boost\date_time\time.hpp(52) : see reference to class template instantiation 'boost::date_time::counted_time_system<time_rep>' being compiled
with
[
time_rep=boost::posix_time::int64_time_rep
]
c:\data\boost\release\boost\boost\date_time\posix_time\ptime.hpp(32) : see reference to class template instantiation 'boost::date_time::base_time<T,time_system>' being compiled
with
[
T=boost::posix_time::ptime,
time_system=boost::posix_time::posix_time_system
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4511: 'boost::detail::lexical_stream<Target,Source>' : copy constructor could not be generated
with
[
Target=unsigned short,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=unsigned short,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\date_parsing.hpp(106) : see reference to function template instantiation 'Target boost::lexical_cast<unsigned short,Type>(Source)' being compiled
with
[
Target=unsigned short,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\gregorian\parsers.hpp(24) : see reference to function template instantiation 'date_type boost::date_time::parse_date<boost::gregorian::date>(const std::string &,int)' being compiled
with
[
date_type=boost::gregorian::date
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4512: 'boost::detail::lexical_stream<Target,Source>' : assignment operator could not be generated
with
[
Target=unsigned short,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4511: 'boost::detail::lexical_stream<Target,Source>' : copy constructor could not be generated
with
[
Target=int,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=int,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(42) : see reference to function template instantiation 'Target boost::lexical_cast<int,Type>(Source)' being compiled
with
[
Target=int,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\posix_time\time_parsers.hpp(27) : see reference to function template instantiation 'time_duration boost::date_time::parse_delimited_time_duration<boost::posix_time::time_dura tion>(const std::string &)' being compiled
with
[
time_duration=boost::posix_time::time_duration
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4512: 'boost::detail::lexical_stream<Target,Source>' : assignment operator could not be generated
with
[
Target=int,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4511: 'boost::detail::lexical_stream<Target,Source>' : copy constructor could not be generated
with
[
Target=boost::int64_t,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=boost::int64_t,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(59) : see reference to function template instantiation 'Target boost::lexical_cast<boost::int64_t,Type>(Source)' being compiled
with
[
Target=boost::int64_t,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4512: 'boost::detail::lexical_stream<Target,Source>' : assignment operator could not be generated
with
[
Target=boost::int64_t,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(131) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\lexical_cast.hpp(127) : while compiling class-template member function 'boost::detail::lexical_stream<Target,Source>::lexical_stream(void)'
with
[
Target=unsigned short,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=unsigned short,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\date_parsing.hpp(106) : see reference to function template instantiation 'Target boost::lexical_cast<unsigned short,Type>(Source)' being compiled
with
[
Target=unsigned short,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(133) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\lexical_cast.hpp(131) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\lexical_cast.hpp(127) : while compiling class-template member function 'boost::detail::lexical_stream<Target,Source>::lexical_stream(void)'
with
[
Target=int,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=int,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(42) : see reference to function template instantiation 'Target boost::lexical_cast<int,Type>(Source)' being compiled
with
[
Target=int,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(133) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\lexical_cast.hpp(131) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\lexical_cast.hpp(127) : while compiling class-template member function 'boost::detail::lexical_stream<Target,Source>::lexical_stream(void)'
with
[
Target=boost::int64_t,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=boost::int64_t,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(59) : see reference to function template instantiation 'Target boost::lexical_cast<boost::int64_t,Type>(Source)' being compiled
with
[
Target=boost::int64_t,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(133) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(139) : warning C4100: 'wd' : unreferenced formal parameter
c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(140) : while compiling class-template member function 'void boost::date_time::date_names_put<Config>::do_put_weekday_short(boost::date_t ime::date_names_put<Config>::iter_type &,boost::date_time::date_names_put<Config>::weekday_enum) const'
with
[
Config=boost::gregorian::greg_facet_config
]
c:\data\boost\release\boost\boost\date_time\date_formatting_locales.hpp(219) : see reference to class template instantiation 'boost::date_time::date_names_put<Config>' being compiled
with
[
Config=boost::gregorian::greg_facet_config
]
c:\data\boost\release\boost\boost\date_time\date_formatting_locales.hpp(210) : while compiling class-template member function 'void boost::date_time::ostream_date_formatter<date_type,facet_type,charT>::date_p ut(const date_type &,boost::date_time::ostream_date_formatter<date_type,facet_type,charT>::ostr eam_type &)'
with
[
date_type=boost::gregorian::date,
facet_type=boost::gregorian::greg_base_facet,
charT=char
]
c:\data\boost\release\boost\boost\date_time\gregorian\greg_facet.hpp(48) : see reference to class template instantiation 'boost::date_time::ostream_date_formatter<date_type,facet_type,charT>' being compiled
with
[
date_type=boost::gregorian::date,
facet_type=boost::gregorian::greg_base_facet,
charT=char
]
c:\data\boost\release\boost\boost\date_time\time_formatting_streams.hpp(76) : see reference to function template instantiation 'std::basic_ostream<_Elem,_Traits> &boost::gregorian::operator <<<char,std::char_traits<char>>(std::basic_ostream<_Elem,_Traits> &,const boost::gregorian::date &)' being compiled
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
c:\data\boost\release\boost\boost\date_time\time_formatting_streams.hpp(74) : while compiling class-template member function 'void boost::date_time::ostream_time_formatter<time_type,charT>::time_put(const time_type &,boost::date_time::ostream_time_formatter<time_type,charT>::ostream_type &)'
with
[
time_type=boost::posix_time::ptime,
charT=char
]
c:\data\boost\release\boost\boost\date_time\posix_time\time_formatters.hpp(2 26) : see reference to class template instantiation 'boost::date_time::ostream_time_formatter<time_type,charT>' being compiled
with
[
time_type=boost::posix_time::ptime,
charT=char
]
\data\boost\develop\boost\msvc\regex\scrap\scrap.cpp(14) : see reference to function template instantiation 'std::basic_ostream<_Elem,_Traits> &boost::posix_time::operator <<<char,std::char_traits<char>>(std::basic_ostream<_Elem,_Traits> &,const boost::posix_time::ptime &)' being compiled
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(139) : warning C4100: 'oitr' : unreferenced formal parameter
c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(142) : warning C4100: 'wd' : unreferenced formal parameter
c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(143) : while compiling class-template member function 'void boost::date_time::date_names_put<Config>::do_put_weekday_long(boost::date_ti me::date_names_put<Config>::iter_type &,boost::date_time::date_names_put<Config>::weekday_enum) const'
with
[
Config=boost::gregorian::greg_facet_config
]
c:\data\boost\release\boost\boost\date_time\date_names_put.hpp(142) : warning C4100: 'oitr' : unreferenced formal parameter
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4511: 'boost::detail::lexical_stream<Target,Source>' : copy constructor could not be generated
with
[
Target=short,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=short,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(138) : see reference to function template instantiation 'Target boost::lexical_cast<short,Type>(Source)' being compiled
with
[
Target=short,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(172) : see reference to function template instantiation 'time_duration boost::date_time::parse_undelimited_time_duration<time_duration>(const std::string &)' being compiled
with
[
time_duration=time_duration
]
c:\data\boost\release\boost\boost\date_time\posix_time\time_parsers.hpp(35) : see reference to function template instantiation 'time_type boost::date_time::parse_iso_time<boost::posix_time::ptime>(const std::string &,char)' being compiled
with
[
time_type=boost::posix_time::ptime
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(180) : warning C4512: 'boost::detail::lexical_stream<Target,Source>' : assignment operator could not be generated
with
[
Target=short,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(131) : warning C4127: conditional expression is constant
c:\data\boost\release\boost\boost\lexical_cast.hpp(127) : while compiling class-template member function 'boost::detail::lexical_stream<Target,Source>::lexical_stream(void)'
with
[
Target=short,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(186) : see reference to class template instantiation 'boost::detail::lexical_stream<Target,Source>' being compiled
with
[
Target=short,
Source=std::string
]
c:\data\boost\release\boost\boost\date_time\time_parsing.hpp(138) : see reference to function template instantiation 'Target boost::lexical_cast<short,Type>(Source)' being compiled
with
[
Target=short,
Type=std::string,
Source=std::string
]
c:\data\boost\release\boost\boost\lexical_cast.hpp(133) : warning C4127: conditional expression is constant
Linking...
Build log was saved at "file://c:\data\boost\develop\boost\Vs7\Scrap\Debug\BuildLog.htm"
scrap - 0 error(s), 22 warning(s)
---------------------- Done ----------------------
Rebuild All: 1 succeeded, 0 failed, 0 skipped
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law" _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
participants (8)
-
Beman Dawes
-
Bronek Kozicki
-
David Abrahams
-
Edward Diener
-
Jeff Garland
-
John Maddock
-
Kevin Wheatley
-
Victor A. Wagner, Jr.