precompiler

What are the gcc preprocessor flags for the compiler's version number?

I have run into a bug with gcc v3.4.4 and which to put an #ifdef in my code to work around the bug for only that version of the compiler. What are the GCC compiler preprocessor flags to detect the version number of the compiler? Thanks. ...

Oracle Precompiler dll library help

Platform : Windows running Oracle 10g I have to modify some old dll library codes and precompile with Oracle Pro*C/C++ 9.0.1.1.1, now I discovered the codes for(;;) whenever not found do break is no longer working, it just keep looping. I have prepared some codes here showing before and after precompile and also a log. Thanks in advanc...

gcc compilation leaves numerous temp files

Hi everyone, I'm using Red Hat Enterprise Linux 5.4 (it's the latest version) and using gcc 4.1.2 to compile my C project. I've noticed that after the compilation, I get numerous tp* files with 0 bytes each inside the sources folder. I'm using the following options in gcc: gcc -c -ggdb -D__linux -D__ORACLE__ -Wall -I/home/ (more -I her...

Where is the C precompiler for Oracle10g located?

I am looking for a newer version of the Pro*C/C++ to upgrade my procui.exe 9.0.1.1.1. I downloaded the 10g client disk and when install I have the following options: instant client administrator runtime custom I dont seem to able to find the actual program other than just getting some common files. Can someone help? ...

How to get log from Process.Start

I'm going to precompile an asp.net application in my custom c# form. How do i retrieve the process logs and check whether it is a successful process or not? Here's my code string msPath = "c:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\"; string msCompiler = "aspnet_compiler.exe"; string fullCompilerPath = Path.Combine(msPath, msCo...

Sharing Constants Between Cocoa and Cocoa-Touch apps

I have a class that I want to share between two different applications. The on,y real difference is the base framework it references. Cocoa imports and of course Cocoa-Touch imports . I would like to use a precompiler directive to check what I am compiling to and allow the correct import. What can I check to see if what My target is...