Re: [Boost-users] fatal error C1001 with visual studio 8, boost 1.34, BOOST_AUTO() macro
----- Original Message ---- From: Arkadiy Vertleyb
To: boost-users@lists.boost.org Sent: Thursday, May 17, 2007 5:05:44 PM Subject: Re: [Boost-users] fatal error C1001 with visual studio 8, boost 1.34, BOOST_AUTO() macro "Felipe Magno de Almeida"
wrote One more question -- what is T? Is it a template parameter of some sort?
pqxx::nontransaction T(*m_pSQLConnection, "GetCustomer");
Strange...
Can you post the entire file where you use BOOST_AUTO (and also the file(s) where you register your types)?
Hi,
of course...
stadfx.h:
---
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
#endif
#include <cstdio>
#include
Thanks, Arkadiy
thanks Trigve ____________________________________________________________________________________Give spam the boot. Take control with tough spam protection in the all-new Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_html.html
"Trigve Siver"
Strange...
Can you post the entire file where you use BOOST_AUTO (and also the file(s) where you register your types)?
Hi, of course...
Well, I don't have PostgreSQL, and can't reproduce the situation without it
:(
So I am going to ask you to try a couple more things. Can you try all of
these:
1)
typedef BOOST_TYPEOF(T.exec("SELECT 1")) type;
2)
boost::type_of::encode
(T.exec("SELECT 1")).item0)> type;
Which one compiles and which doesn't? Regards, Arkadiy
participants (2)
-
Arkadiy Vertleyb
-
Trigve Siver