| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Tim Stewart | Date: | April 3 2006 4:51pm |
| Subject: | Visual C++ 7.1. compiler error when including custom.h | ||
| View as plain text | |||
I am using MySQL 5.0.19 and MySQL++ 2.1.0 under Visual Studio 7.1.
The following code compiles with an error:
#include <mysql++.h>
#include <custom.h>
int main(int argc, char* argv[])
{
return 0;
}
The errors:
error C2010: '.' : unexpected in macro formal parameter list
error C2010: '.' : unexpected in macro formal parameter list
error C2010: '.' : unexpected in macro formal parameter list
I am including custom.h in order to use the sql_create_2 macro.
Tim
| Thread | ||
|---|---|---|
| • Visual C++ 7.1. compiler error when including custom.h | Tim Stewart | 3 Apr |
| • Re: Visual C++ 7.1. compiler error when including custom.h | Warren Young | 5 Apr |
| • Re: Visual C++ 7.1. compiler error when including custom.h | Tim Stewart | 5 Apr |
| • Re: Visual C++ 7.1. compiler error when including custom.h | Warren Young | 5 Apr |
| • Re: Visual C++ 7.1. compiler error when including custom.h | Tim Stewart | 5 Apr |
