Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We should have a configure script #39

Open
TheLoneWolfling opened this issue Jul 1, 2016 · 0 comments
Open

We should have a configure script #39

TheLoneWolfling opened this issue Jul 1, 2016 · 0 comments

Comments

@TheLoneWolfling
Copy link
Collaborator

Some things that would be useful to put in said script:

  1. If the compiler has any types larger than size_t (useful for checking overflow) and/or [u]int_64_t. So check the size of [u]intmax_t, check if the compiler supports [u]int_128_t (and if so, what the type name is) - e.g. GCC does.
  2. Related: if the compiler has any builtins for checking overflow / etc. GCC does, for instance.
  3. If the compiler has a built-in static assert.
  4. The various path operations. Notably, if we want to be able to cross-compile we can't just check "is this the case now".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant