Entradas marcadas como ‘C++’

20/06/2006

How to get GCC version on compile time

 Retirado daqui:
The common predefined macros are GNU C extensions. They are available with the same meanings regardless of the machine or operating system on which you are using GNU C. Their names all start with double underscores.

__GNUC__
__GNUC_MINOR__
__GNUC_PATCHLEVEL__
These macros are defined by all GNU compilers that use the C preprocessor: C, C++, and [...]

03/03/2006

Acesso a Oracle 10g com cliente 8i usando Pro*C

Para aceder a uma BD Oracle 10g usando um cliente 8i usando Pro*C, é preciso passar a flag prefetch=0 ao pré-compilador de Pro*C. O pré-compilador a usar é o da versão do cliente que se vai usar, ie, da versão 8i.