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 » Community » Newbie corner » Basic question regarding callbacks
Re: Basic question regarding callbacks [message #27024 is a reply to message #27022] Mon, 21 June 2010 20:39 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi,

This looks like a compiler optimization. The compiler recognizes that value of a is actually not used before you assign it the result of that call to p(10,20).

Just to make sure: What version of U++ are you using? You can find it in Assist>About... Since you said you are using mingw which is not distributed with U++ anymore, I guess you have version 605, am I right? If so, please upgrade to something newer. Just have a look in the Download section for links Wink Also, if you downloaded that ancient mingw release, you should consider upgrading the mingw to newer version (have a look in this thread).

Bye,
Honza

PS: Could you use some other file format than .doc next time? Some of us don't have Office/openoffice installed Wink Pdf or any image format would be nice, thanks.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Drag & Drop box
Next Topic: Compilers: Microsoft vs GCC (or MinGW)
Goto Forum:
  


Current Time: Wed May 29 06:49:37 CEST 2024

Total time taken to generate the page: 0.00942 seconds