﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-Muponder-最新评论</title><link>http://www.cppblog.com/deajosha/CommentsRSS.aspx</link><description>为者常成，行者常至。</description><language>zh-cn</language><pubDate>Sat, 04 Jul 2015 16:45:06 GMT</pubDate><lastBuildDate>Sat, 04 Jul 2015 16:45:06 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: Windows 8.1 Visual studio 2013编译libpqxx4.0.1[未登录]</title><link>http://www.cppblog.com/deajosha/archive/2015/09/30/211146.html#211925</link><dc:creator>Larry</dc:creator><author>Larry</author><pubDate>Tue, 29 Sep 2015 18:38:00 GMT</pubDate><guid>http://www.cppblog.com/deajosha/archive/2015/09/30/211146.html#211925</guid><description><![CDATA[非常感谢能有您这篇文章，我正在使用 Visual Studio 2015 在 windows 10 上上编译 64 位的 libpqxx, 搜到了您的文章，按照您的步骤操作，遇到了问题，能否请帮忙看一下，<br><br>现在执行编译后，会出现如下错误:<br><br>C:\Users\Larry\Downloads\libpqxx-4.0.1.tar\libpqxx-4.0.1&gt;&quot;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\nmake.exe&quot; /f win32/vc-libpqxx.mak ALL<br><br>Microsoft (R) 程序维护实用工具 14.00.23026.0 版<br>版权所有 (C) Microsoft Corporation。  保留所有权利。<br><br>        cl.exe /nologo /W3 /EHsc /FD /GR /c  /I &quot;include&quot; /I C:\Users\Larry\PostgreSQL\9.4\include /I C:\Users\Larry\PostgreSQL\9.4\include  /D PGSTD=&quot;std&quot; /D &quot;WIN32&quot; /D &quot;_MBCS&quot; /D &quot;_WINDOWS&quot; /D &quot;PQXX_INTERNAL&quot; /MDd /Gm /ZI /Od /D &quot;_LIB&quot; /D &quot;_DEBUG&quot; /RTC1 /Fo&quot;ObjStaticDebug\\&quot; /Fd&quot;ObjStaticDebug\\&quot; src/largeobject.cxx<br>cl: 命令行 warning D9028 :最小重新生成失败，正在转换为标准生成<br>largeobject.cxx<br>c:\users\larry\downloads\libpqxx-4.0.1.tar\libpqxx-4.0.1\src\largeobject.cxx(225): error C2039: “max”: 不是“std”的成员<br>c:\users\larry\downloads\libpqxx-4.0.1.tar\libpqxx-4.0.1\include\pqxx\util.hxx(270): note: 参见“std”的声明<br>c:\users\larry\downloads\libpqxx-4.0.1.tar\libpqxx-4.0.1\src\largeobject.cxx(225): error C3861: “max”: 找不到标识符<br>c:\users\larry\downloads\libpqxx-4.0.1.tar\libpqxx-4.0.1\src\largeobject.cxx(234): error C2039: “max”: 不是“std”的成员<br>c:\users\larry\downloads\libpqxx-4.0.1.tar\libpqxx-4.0.1\include\pqxx\util.hxx(270): note: 参见“std”的声明<br>c:\users\larry\downloads\libpqxx-4.0.1.tar\libpqxx-4.0.1\src\largeobject.cxx(234): error C3861: “max”: 找不到标识符<br>NMAKE : fatal error U1077: “&quot;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe&quot;”: 返回代码“0x2”<br>Stop.<br><img src ="http://www.cppblog.com/deajosha/aggbug/211925.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/deajosha/" target="_blank">Larry</a> 2015-09-30 02:38 <a href="http://www.cppblog.com/deajosha/archive/2015/09/30/211146.html#211925#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>