Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
U++ Core
»
_mm_pause not defined
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
_mm_pause not defined
[
message #49165
]
Fri, 29 December 2017 23:16
forlano
Messages:
1207
Registered:
March 2006
Location:
Italy
Senior Contributor
Hello,
I was compiling my program using latest U++ 11634, Mingw compiling for 32 bit platform.
I got the error:
C:\upp\uppsrc\Core\Mt.cpp (635): error: '_mm_pause' was not declared in this scope
located in Mt.cpp:
void SpinLock::Wait()
{
volatile int n = 0;
while(locked) {
#ifdef CPU_X86
_mm_pause(); //<< error
#endif
if(n++ > 500)
Sleep(0);
}
}
Any idea how to fix it?
Thanks,
Luigi
Report message to a moderator
Re: _mm_pause not defined
[
message #49166
is a reply to
message #49165
]
Sat, 30 December 2017 10:29
Oblivion
Messages:
1206
Registered:
August 2007
Senior Contributor
Hello,
I can confirm this for latest nightly builds on Linux (kernel: 4.14 - x86_64 platform, GCC 7.2.1
The reason seems to be that the following header file is missing.
#include <xmmintrin.h>
Best regards,
Obliivion
Github page:
https://github.com/ismail-yilmaz
upp-components:
https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator:
https://github.com/ismail-yilmaz/Bobcat
[Updated on: Sat, 30 December 2017 10:34]
Report message to a moderator
Re: _mm_pause not defined
[
message #49168
is a reply to
message #49166
]
Sat, 30 December 2017 16:56
mirek
Messages:
14257
Registered:
November 2005
Ultimate Member
I have tried to add include to Core.h. Please check (trunk)
Report message to a moderator
Previous Topic:
CreateSymbolicLink doesn't compile using MinGW
Next Topic:
ReadSecret() function for reading passwords, etc. from the console.
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Fri May 09 19:55:25 CEST 2025
Total time taken to generate the page: 0.00859 seconds