473,388 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Getting Compiler Input (substituting macros)

134 100+
hey,
i am use (Bloodshed) DevC++, and i know its a bad idea, but use a macro-type (.h and .a) thing called RadC++. now, for instance, what it would do is:
you type
Expand|Select|Wrap|Line Numbers
  1. FormProcArgs
but to the compiler, it means
Expand|Select|Wrap|Line Numbers
  1. HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam 
And, i was wondering if there is any way to view the input of the compiler, so for instance, i could make a program using those macros, but copy the source that the compiler actually uses.

thanks a lot
-nate
Sep 11 '07 #1
2 1258
Banfa
9,065 Expert Mod 8TB
look up the compiler switches for your compiler, many compilers have a switch to output the source code after preprocessing but before compilation.
Sep 12 '07 #2
lumpybanana247
134 100+
look up the compiler switches for your compiler, many compilers have a switch to output the source code after preprocessing but before compilation.
although i cannot find one, thats nice to know that its possible
thank you much
Sep 12 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Paul Jørstad | last post by:
Hello! In a form I have an input field. It's supposed to get input form a scanning device. Thus, the input might contain special characters (like the Group Separator in a EAN barcode). Now, I...
5
by: Carl Ribbegaardh | last post by:
Is there any known list of compiler identification macros? I'm using VS 2003, g++ on windows, sun's cc and g++ on solaris. Is it possible to identify the compiler using macros? I'm aware of WIN32...
7
by: Paul Sheer | last post by:
I need to automatically search and replace all fixed size buffer strcpy's with strncpy's (or better yet, strlcpy's) as a security and stability audit. The code base is large and it is not feasable...
21
by: JKop | last post by:
Today I wrote a function that returned an "std::ostringstream" by value. I compiled it with G++. It was throwing exceptions at run-time and closing. So I look through the code, and I look...
1
by: Hafeez | last post by:
I am having real trouble compiling this code http://www.cs.wisc.edu/~vganti/birchcode/codeHier/AttrProj.tgz The attachment shows errors when compiled using the current version of g++ in a...
6
by: vsnadagouda | last post by:
Hello All, For one of my applications I need to know what are all the predefined system/ compiler specific macros are. All these days I used to use "-v" or "-#" as a compiler option to figure...
18
by: smnoff | last post by:
Ok, I am think I am a little more knowledgeable about C and pointers, ughh. And likewise, I want to fix C.....and not so much to make a C++ or Java or C# or even D like language. So, if I...
2
by: FormLess | last post by:
I'm using JS to dynamically change the CSS attrib's of User Input Fields in a form. It works fine for text input fields but does not seem to work at all for TEXTAREAS. (IE6) Is there a tweak...
9
by: Leo jay | last post by:
i'd like to implement a class template to convert binary numbers to decimal at compile time. and my test cases are: BOOST_STATIC_ASSERT((bin<1111,1111,1111,1111>::value == 65535));...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.