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: Installation, Compiling and Running of theide » IDE compilation error
Re: IDE compilation error [message #45976 is a reply to message #45922] Fri, 05 February 2016 07:57 Go to previous messageGo to previous message
pvictor is currently offline  pvictor
Messages: 67
Registered: December 2015
Member
This error still exists in upp-x11-src-9448.tar.gz

TheIDE doesn't compile unless I manually add -DflagSSE2 to MACRO in uppsrc/Makefile.in

Core/Mt.cpp:
#ifdef CPU_X86
#ifndef CPU_SSE2
 . . .
void ReadMemoryBarrier() {
 . . .
}

Core/Mt.h:
#ifdef CPU_SSE2
inline void ReadMemoryBarrier() {
 . . .
}
 . . .
#elif defined(COMPILER_GCC)
#ifndef PLATFORM_WIN32
inline void ReadMemoryBarrier() {
 . . .
}

If CPU_X86 and COMPILER_GCC are defined but CPU_SSE2 and PLATFORM_WIN32 are undefined
ReadMemoryBarrier() (and WriteMemoryBarrier()) are duplicated.

Victor
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Slow processing of compilation/linking messages
Next Topic: Compilation error with GCC
Goto Forum:
  


Current Time: Sat Apr 27 05:13:06 CEST 2024

Total time taken to generate the page: 0.03070 seconds