As was discussed on different thread new version of Sun Studio C++
compiler contains _T (probably template) which clashes with _T macro in
wxWidgets. It will be fixed in wxWidgets 3.0.
I attached concept of fix which solve this problem now. This is first
workable solution, but I'm not yet happy with them. I guest that with
some pgScript include refactoring we can eliminate problem much closer.
does exist something like doxygen.pgadmin.org?
Zdenek
diff -r pgadmin3-1.10.0.old/pgadmin/include/pgscript/parser.tab.hh pgadmin3-1.10.0/pgadmin/include/pgscript/parser.tab.hh
62a63,65
> #undef wxT
> #define wxT(x) wxCONCAT_HELPER(L,x)
>
69,70d71
<
<
diff -r pgadmin3-1.10.0.old/pgadmin/include/pgscript/pgScript.h pgadmin3-1.10.0/pgadmin/include/pgscript/pgScript.h
30a31,33
> #undef wxT
> #define wxT(x) wxCONCAT_HELPER(L,x)
>
diff -r pgadmin3-1.10.0.old/pgadmin/include/pgscript/stack.hh pgadmin3-1.10.0/pgadmin/include/pgscript/stack.hh
37a38
> #undef _T
diff -r pgadmin3-1.10.0.old/pgadmin/pgscript/parser.tab.cc pgadmin3-1.10.0/pgadmin/pgscript/parser.tab.cc
51a52,53
> #undef _T
>
diff -r pgadmin3-1.10.0.old/pgadmin/pgscript/utilities/pgsDriver.cpp pgadmin3-1.10.0/pgadmin/pgscript/utilities/pgsDriver.cpp
15a16
> #define _T(x) wxCONCAT_HELPER(L,x)
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers