Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Question about Blitz (bug?)
Re: Question about Blitz (bug?) [message #22022 is a reply to message #22013] Sun, 14 June 2009 22:20 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
skyhawk wrote on Sun, 14 June 2009 15:50

My existing projects often do not build using Blitz.
When Blitz is turned of there is no problem.

The problem lies in (re-)defining macros in different files.

suppose: foo.cpp has:

#define FOOBAR foo

and bar.cpp has:

#define FOOBAR bar

normally these definitions stay within the scope of the file, but with blitz on, they seem to clash?

I this normal behaviour for blitz? and should I just disable the use of blitz for these files? or is it a bug ?

Greetings,

Jan


Actually, BLITZ should undefine them when needed. But perhaps something does not work as expected.

You can check what BLITZ does looking at $blitz.cpp file in output directory.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Breakpoints in gcc
Next Topic: How do I make a package a library?
Goto Forum:
  


Current Time: Fri Aug 15 05:40:11 CEST 2025

Total time taken to generate the page: 0.35180 seconds