473,761 Members | 9,379 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Codewarrior: am I compiling with debug on ?

I'm using Codewarrior for Windows and for example
I can check the peephole option to see if we are currently compiling
with peephole optimization on...
#if __option(peepho le)

Is there a way to see if we are compiling with debug turned on?

thanx,
Søren
Jul 19 '05 #1
2 2197
This is compiler-specific. I'd recommend codewarrior.win dows. That and I
have no idea what you're talking about.
Jul 19 '05 #2
#if __ide_target("D ebug Win32 x86")
printf("YO!!!\n ");
#endif
That worked ! (for Codewarrior Version 8 on Windows)

thanx
Søren


"Russell Hanneken" <rh*******@pobo x.com> wrote in message
news:n0******** *********@newsr ead3.news.pas.e arthlink.net...
"Søren Grønbech" <so***@NOSPAMso dan.dk> wrote in message
news:3e******** *************** @dread14.news.t ele.dk...
I'm using Codewarrior for Windows and for example
I can check the peephole option to see if we are currently compiling
with peephole optimization on...
#if __option(peepho le)

Is there a way to see if we are compiling with debug turned on?


Ask this on codewarrior.win dows. This newsgroup is for discussion of
standard C++ (see http://www.slack.net/~shiva/welcome.txt).

Just a thought: select "Online Manuals" under "Help," and look up the
preprocessor macro "__ide_target() " in the index (I'm using CodeWarrior
version 7; the documentation might not be laid out the same way on your
system). That may or may not be what you're looking for.

Regards,

Russell Hanneken
rh*******@pobox .com

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1094
by: brianhray | last post by:
When looking for a pythonic way to convert some Mac codewarrior projects, I came across some files hidden deap into the Python.Framework under: plat-mac/lib-scriptpackages/CodeWarrior What is this stuff? Would any of this be helpful in my search for an automated conversions of the exported xml file generated by CodeWarrior
0
563
by: Desmond L | last post by:
I'm tring to use CodeWarrior 9 to build a Mach-O target application on Mac OS X that uses the embedded mysql server library (libmysqld.a). I'm using the library that comes from standard Mac OS X binary distribution (the .dmg package). I can add libmysqld.a to the CodeWarrior project but when linking, there're lots of undefined symbols referenced from libmysqld.a. I assume it also needs the equivalent of -lz and -lm to be added to...
2
2284
by: Chad Slagle via DotNetMonster.com | last post by:
in "c:\Root.Aspects.Exceptions\example.vb(20)" I receive an: error BC30456 'Insrumentation' is not a member of 'Aspects. In the Solution the following projects exist: Root.Aspects.Exceptions Root.Aspects.Instrumentation Root.AppName.Business Root.AppName.Data Root.AppName.UI.Web Root.AppName.UI.WinForm
4
11361
by: Aaron Queenan | last post by:
When I build a C++ library to .NET using the managed C++ compiler, I get the following error message: Linking... LINK : error LNK2020: unresolved token (0A000005) _CrtDbgReport LINK : error LNK2020: unresolved token (0A000007) memset LINK : error LNK2020: unresolved token (0A000008) free LINK : error LNK2020: unresolved token (0A00000A) atexit LINK : error LNK2020: unresolved token (0A000028) wcscpy LINK : error LNK2020: unresolved...
0
943
by: jim | last post by:
Hi Everyone, When I converted one visual .net project from 2002 to 2003, there is an error occursing during compiling under visual studio .net 2003 as followoing: Command Lines Creating temporary file "d:\Development\WebService\temp\ManagedSdk\Debug\RSP000008.rsp" with contents Creating command line "cl.exe @d:\Development\WebService\temp\ManagedSdk\Debug\RSP000008.rsp /nologo"
1
2213
by: Niluge | last post by:
I work with a person who use codewarrior. We want to port his work under Visual C++ but we don't how to do.
0
1863
by: Greg O. | last post by:
I'm getting link errors trying to compile the mysql++ library. Can anyone help? ========================== D:\PROGRA~1\mysql\MYSQL_~1.6>c:\progra~1\mingw\bin\mingw32-make | more cd lib && c:/progra~1/mingw/bin/mingw32-make BIN_DIR=debug all example_setup mingw32-make: Entering directory `D:/PROGRA~1/mysql/MYSQL_~1.6/lib' link /OUT:debug\mysqlpp.dll /DLL /NOLOGO /LIBPATH:C:\PROGRA~1\MySQL\MYSQLS~1.0\.
32
1760
by: BillJosephson | last post by:
Hi, I want to write a program in Java or C++, and just discovered on my bookshelve Codewarrior 7. It says Windows 95, 98, NT, 2000, ME. Can I develop a command line application that will work on my XT machine? A grahpical interface? Thanks a lot for any thoughts on this. I know I should get a newer compiler but if I could save the money for the time being that would be great. Thanks.
1
1614
by: Tiago | last post by:
Hello experts! I want to learn use the CodeWarrior. I´m trying to maki a HelloWorld, but I don´t have a success. Can you help me? Thank you!!! Sorry my English: I´m from Brazil and begin to study now!
0
9336
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10111
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9948
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9902
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8770
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7327
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3866
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.