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++ Library support » U++ Core » util.cpp xp64
util.cpp xp64 [message #10826] Wed, 01 August 2007 00:52 Go to next message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

Im using Core in Core/WTL/GDI+ mixed project in MSVC8
I had to remove line in Util.cpp

include <intrin.h> becouse i had errors about second C linkage

defines as follow

_DEBUG
WIN32
WIN64
_WINDOWS
_AMD64_
_WIN64
flagWIN32
flagMT
Re: util.cpp xp64 [message #10833 is a reply to message #10826] Wed, 01 August 2007 10:59 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
We have this there because of _debugbreak, right?
Re: util.cpp xp64 [message #10844 is a reply to message #10833] Wed, 01 August 2007 15:43 Go to previous messageGo to next message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

The problem is becouse the /Oi switch ...
So when /Oi is enabled at compile time the linker knows all the function from this include and tries to include them again or somthing.

[Updated on: Wed, 01 August 2007 15:44]

Report message to a moderator

Re: util.cpp xp64 [message #10902 is a reply to message #10844] Fri, 03 August 2007 20:04 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, anyway, I wanted to say:

If I remove that include, what happens to _debugbreak on win64?

Mirek
Re: util.cpp xp64 [message #10904 is a reply to message #10902] Fri, 03 August 2007 22:59 Go to previous messageGo to next message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

with /Oi propably nothing (i will check)
Without /Oi error

But i don't know how to test if /Oi is enabled.

[Updated on: Fri, 03 August 2007 23:00]

Report message to a moderator

Re: util.cpp xp64 [message #10910 is a reply to message #10904] Sat, 04 August 2007 09:48 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Means you suggest to add another #ifdef for Win64?
Re: util.cpp xp64 [message #10912 is a reply to message #10910] Sat, 04 August 2007 10:44 Go to previous messageGo to next message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

This dons't depend on WIn ver, this depends on compilte time options passed to compiler ....
Re: util.cpp xp64 [message #10913 is a reply to message #10912] Sat, 04 August 2007 10:51 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
arturbac wrote on Sat, 04 August 2007 04:44

This dons't depend on WIn ver, this depends on compilte time options passed to compiler ....


Well, that is nice to know.

However, I am still not sure what to do with that damned file and include... Smile

Mirek
Previous Topic: Core split
Next Topic: Compression class?
Goto Forum:
  


Current Time: Fri Mar 29 08:56:27 CET 2024

Total time taken to generate the page: 0.01010 seconds