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 » U++ community news and announcements » Upp 701-dev1 released
Re: Upp 701-dev1 released [message #7703 is a reply to message #7690] Tue, 16 January 2007 10:53 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
paolo wrote on Mon, 15 January 2007 18:33

Werner wrote on Mon, 08 January 2007 23:41

Trying to build "Concrete01" or "ide", e. g., with gcc 4.1.1 yields:

Quote:

D:\ProgWin\upp\uppsrc\Core\heap.cpp:60: error: expected ',' or '...' before 'char'
D:\ProgWin\upp\uppsrc\Core\heap.cpp: In function 'void Upp::MemorySum(int&)':
D:\ProgWin\upp\uppsrc\Core\heap.cpp:62: error: expected unqualified-id before '=' token
D:\ProgWin\upp\uppsrc\Core\heap.cpp:63: error: 'large' was not declared in this scope
D:\ProgWin\upp\uppsrc\Core\heap.cpp: In function 'void* Upp::MemoryAlloc(size_t)':
D:\ProgWin\upp\uppsrc\Core\heap.cpp:589: error: '_msize' was not declared in this scope
D:\ProgWin\upp\uppsrc\Core\heap.cpp: In function 'void Upp::MemoryFree(void*)':
D:\ProgWin\upp\uppsrc\Core\heap.cpp:611: error: '_msize' was not declared in this scope



The same is true for gcc 3.4.2.

Werner



Same problem with upp-mingw-701-dev1.exe on Windows XP.
Problem resolved thanks to MikeP (read his post above this), changing that function "MemorySum" and adding "#ifndef COMPILER_GCC" to the three occurrences.
Now programs compile, let's hope they work too Smile


I confirm too the same error and the same fix with XP and mingw compiler.

Luigi
 
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
Read Message
Previous Topic: Upp 2007.1beta released
Next Topic: Forum email trouble....
Goto Forum:
  


Current Time: Fri Mar 29 10:40:42 CET 2024

Total time taken to generate the page: 0.01093 seconds