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 » Developing U++ » Mac OS » Need help with the structure of flags etc. and running u++ cocoa on Windows 7 GNUSTEP
Re: Need help with the structure of flags etc. and running u++ cocoa on Windows 7 GNUSTEP [message #35732 is a reply to message #35730] Thu, 15 March 2012 01:50 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
fudadmin wrote on Wed, 14 March 2012 15:21

you can try my Core and help to merge... Smile. Leaving? Ok. see you later. thanks for trying.


Sorry, Tom, I was rushing and juggling computers and other tasks.
Forget the Core.zip above...

Only 1 problem in core for now and it should compile.

What helps is:
Id::Id(const String& s) { id = s; }
Id::Id(const char *s) { id = s; }

I mean, split the declaration and definition and move the latter to the *.cpp file intelligently... Smile

But I don't foresee this is a proper intelligent solution. Very likely it's a road mine which can explode and I am glad you exposed it. Cocoa's objc uses 'id' for any object. 'id' might be isolated (if used) by a namespace and not to clash in cpp part but in the future we will need to think what to do. Rename all 'id' in u++ and declare it taboo? It would be interesting what other guys and Mirek think? Btw, there are no namespaces in objc. Only the dark room... Smile

Edit1: Also, download the updated UNS.zip from the other topic
Edit2: the GccBuilder.icpp I posted doesn't link (or stopped linking) for some reasons. I will try to find out. But first, try to compile.
Edit3: linking also depends on flags... the updated UNS compiles and runs on windows with the latest upp <Core> and the changes already mentioned.

[Updated on: Thu, 15 March 2012 06:22]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: upp-cocoa CtrlCore skeleton package to play
Next Topic: some cocoa with OpenGL in upp sandbox! (UNS, UNSCtrl , UNStest)
Goto Forum:
  


Current Time: Fri May 10 05:21:57 CEST 2024

Total time taken to generate the page: 0.01605 seconds