Elm Gysel writes: > Hello, > > I'm reading and doing some testing with Specialized SQL Structures. > > I've included both mysql++ and custom-macros.hh . I'm using MSVC as > compiler. > > The problem I'm facing is that I can't get it compiled. I get undeclared > identifiers > > syntax error : identifier 'sql_dummy_type' > 'sql_dummy' : undeclared identifier > > sql_dummy_type is used in : > > template <sql_dummy_type dummy> ... > > > I'm only trying to get that macro my struct defined as stated in the > examples : > > sql_create_basic_5(stock, 1, 5, > string, item, // type, id, > int, num, > double, weight, > double, price, > MysqlDate, date) > > > Anyone know what could go wrong with this? > > Thx! > > Elm
Hi! You probably have not included files properly. It should be : #include <sqlplus.hh> #include <custom.hh> -- Regards, __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php