Comments (8)
Ah, I see. OK, well. On your spiffy machine, "long long" is longer than 64 bits, and so Eidos ought to be using a different version of these built-in functions. All part of the endless annoyance of C's platform-dependent types. So what I want to do is detect which type (int, long int, long long int) corresponds to int64_t on the target machine, and use the corresponding built-in functions. I'm not sure how to do that, but I imagine some googling will provide the answer...
from slim.
The first of the errors is due to missing an #include .
On Wed, Apr 6, 2016 at 4:47 AM Ben Haller [email protected] wrote:
Ah, I see. OK, well. On your spiffy machine, "long long" is longer than 64
bits, and so Eidos ought to be using a different version of these built-in
functions. All part of the endless annoyance of C's platform-dependent
types. So what I want to do is detect which type (int, long int, long long
int) corresponds to int64_t on the target machine, and use the
corresponding built-in functions. I'm not sure how to do that, but I
imagine some googling will provide the answer...—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#1 (comment)
from slim.
Yep. Funny how different C++ compilers have different include requirements. The missing include was not a problem on our Linux cluster, nor with clang on my OS X machine. It would be nice if compilers were more consistent about this sort of thing; it really makes it hard to write portable code. Ah well.
from slim.
It is always required: http://en.cppreference.com/w/cpp/language/typeid
I'm guessing it was included as a side-effect of other includes on your
other systems. That happens, and is annoying.
On Wed, Apr 6, 2016 at 4:50 AM Kevin Thornton [email protected] wrote:
The first of the errors is due to missing an #include .
On Wed, Apr 6, 2016 at 4:47 AM Ben Haller [email protected]
wrote:Ah, I see. OK, well. On your spiffy machine, "long long" is longer than
64 bits, and so Eidos ought to be using a different version of these
built-in functions. All part of the endless annoyance of C's
platform-dependent types. So what I want to do is detect which type (int,
long int, long long int) corresponds to int64_t on the target machine, and
use the corresponding built-in functions. I'm not sure how to do that, but
I imagine some googling will provide the answer...—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#1 (comment)
from slim.
Right, exactly. :->
from slim.
I believe this bug is now fixed. I'm not sure what the etiquette is regarding closing bugs. Do I close it now? Do I wait for you to confirm that the bug is fixed on your end, and then close it? Do you close it?
from slim.
Go ahead and close--it does seem to be fixed.
BTW, when making a commit, you can refer to issue numbers. For example:
git commit -am "fix for #1"
Online, those comments will show up in the Issues thread, which is handy.
On Wed, Apr 6, 2016 at 4:50 AM Kevin Thornton [email protected] wrote:
The first of the errors is due to missing an #include .
On Wed, Apr 6, 2016 at 4:47 AM Ben Haller [email protected]
wrote:Ah, I see. OK, well. On your spiffy machine, "long long" is longer than
64 bits, and so Eidos ought to be using a different version of these
built-in functions. All part of the endless annoyance of C's
platform-dependent types. So what I want to do is detect which type (int,
long int, long long int) corresponds to int64_t on the target machine, and
use the corresponding built-in functions. I'm not sure how to do that, but
I imagine some googling will provide the answer...—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#1 (comment)
from slim.
Aha, yes, I was wondering if there was a way to do that. OK, thanks!
from slim.
Related Issues (20)
- SLiMgui should offer to load external script changes HOT 7
- Wrap Eidos code edition/analysis features into a proper language server. HOT 1
- Slim 4.1 core dumping on computing cluster HOT 19
- small bug in docs HOT 1
- missing parents when using addRecombinant() HOT 2
- "pretty" option for serialize() HOT 2
- Inconsistent global-variable behavior from `x = 1` versus `x = x + 1` HOT 11
- Compiling Eidos script. HOT 13
- Software depends on Qt patch version? HOT 7
- improve recipe 17.5 by using tspop or link_ancestors
- SLiM 4.2 release process HOT 23
- QtSLiM *Open Recipe* list is sorted lexicographically rather than naturally HOT 5
- "buffer overflow detected" when trying to install SLiM on Linux HOT 29
- provide `make test` functionality to run tests after building `slim` and `eidos`
- SLiM 4.2.1 release process HOT 11
- Name collision between binaries and directories prevents linking with `ld` on RHEL 8 HOT 4
- Ubuntu SLiM install error HOT 18
- SLiM 4.2.1 fc 3 release process HOT 9
- 4.2.2 release process HOT 9
- no gcc-11 for ubuntu-20.04, and other perhaps out-of-date Actions settings HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slim.