9Fermer11
Pen^2Le 25/01/2007 à 20:29
si, c'est n'imp. Après, c'est à l'user de savoir ce qu'il fait...










Bon, sinon :
Ça compile avec cygwin, mais sous Visual C++ 6, ça déconne toujours complètement.... rage mad vtff bang
ex :

Sous Visual C++ 6 SP6 :
--------------------Configuration: BDDManager - Win32 Debug--------------------
Compiling...
PQ_Connection.cpp
c:\3dsmax6\maxsdk\samples\bddmanager\pq_connection.h(33) : error C2143: syntax error : missing ',' before '&'
c:\3dsmax6\maxsdk\samples\bddmanager\pq_connection.h(33) : error C2059: syntax error : '&'
c:\3dsmax6\maxsdk\samples\bddmanager\statement.h(34) : error C2143: syntax error : missing ',' before '&'
c:\3dsmax6\maxsdk\samples\bddmanager\statement.h(34) : error C2059: syntax error : '&'
c:\3dsmax6\maxsdk\samples\bddmanager\statement.h(35) : error C2143: syntax error : missing ',' before '&'
c:\3dsmax6\maxsdk\samples\bddmanager\statement.h(35) : error C2059: syntax error : '&'
c:\3dsmax6\maxsdk\samples\bddmanager\pq_connection.cpp(76) : error C2511: 'prepareStatement' : overloaded member function 'class SQLManager::PreparedStatement *(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<ch
ar> > &) const' not found in 'SQLManager::PQ_Connection'
        c:\3dsmax6\maxsdk\samples\bddmanager\pq_connection.h(19) : see declaration of 'PQ_Connection'
Error executing cl.exe.

PQ_Connection.obj - 7 error(s), 0 warning(s)



Sous Cygwin :
/cygdrive/c/3dsmax6/maxsdk/samples/BDDManager
$ g++ --version
g++ (GCC) 3.3.3 (cygwin special)
Copyright (C) 2003 Free Software Foundation, Inc.
Ce logiciel est libre; voir les sources pour les conditions de copie.  Il n'y a PAS
GARANTIE; ni implicite pour le MARCHANDAGE ou pour un BUT PARTICULIER.

/cygdrive/c/3dsmax6/maxsdk/samples/BDDManager
$ g++ -Wall -c PQ_Connection.cpp 

/cygdrive/c/3dsmax6/maxsdk/samples/BDDManager