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 |
SColorMenu_Write(GetGTK(popup, 0, 2, "menu", GTK_BOX, 32, 32)[16][16]);
SColorMenu_Write(GetGTK(popup, 0, 2, "menu", GTK_BOX, 32, 32)[16][16]);
Quote: |
Color c = GetGTK(popup, 0, 2, "menu", GTK_BOX, 32, 32)[16][16]; if(!IsNull(c) && Diff(c, SColorPaper()) > 200) //!!! ClearLooks patch SColorMenu_Write(c); |
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 |
void MemorySum(int& ismall, int& large) { ismall = sSmallKb; large = (int) (sLarge >> 10); }
#ifndef COMPILER_GCC #ifdef PLATFORM_WIN32 sLarge += _msize(q); #endif #endif
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 |
Werner wrote on Mon, 08 January 2007 23:41 | ||
Trying to build "Concrete01" or "ide", e. g., with gcc 4.1.1 yields:
The same is true for gcc 3.4.2. Werner |
guido wrote on Wed, 10 January 2007 08:56 |
I set shadow to 0. Then state to 1 (ACTIVE). Neither having any effect at all. Guido |
Quote: |
Color c = GetGTK(popup, 0, 2, "menu", GTK_BOX, 32, 32)[16][16]; if(!IsNull(c) && Diff(c, SColorPaper()) > 200) //!!! ClearLooks patch SColorMenu_Write(c); |
luzr wrote on Fri, 12 January 2007 19:00 | ||||
Clearlooks problem confirmed. For now, I have made a quick-fix:
(In fact, it is a test whether the Color is reasonable value..) Mirek |
luzr wrote on Thu, 18 January 2007 23:54 |
No, sorry. I was just confused this gone to 701dev1 thread. Any chance putting strategic DUMPs there DUMP(Color(c)); DUMP(SColorPaper()); DUMP(Diff(c, SColorPaper())); to find out what is really going on? Mirek |
Color c = GetGTK(popup, 0, 2, "menu", GTK_BOX, 32, 32)[16][16]; if(!IsNull(c) && Diff(c, SColorText()) > 200) //!!! ClearLooks patch SColorMenu_Write(c);