[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] babel C, C++, D enhancement
From: |
Achim Gratz |
Subject: |
Re: [O] babel C, C++, D enhancement |
Date: |
Tue, 17 Jun 2014 19:16:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) |
Thierry Banel writes:
> You are right, INT_MAX is the C++ constant to compare to.
> It is defined in limits.h
>
> I'm not sure I want to locate limits.h (where is it ? are there several
> versions ?),
> and parse it, all from within Emacs-lisp...
No, this isn't something you should even try. The only method that is
known to work is what autoconf does: compile a program and check the
output.
> And this will have to be done for all languages (Python, Perl, Java,
> and so on), not just C++.
Let's stick with C(++) and solve that problem first, that there is a lot
of boilerplate code in Babel language support that should be lifted off
elsewhere is a discussion for another time.
> Or we could assume that INT_MAX is always 2147483647.
> (Which of course is not true).
You've just made compilers customizable. For a start, make those
constants customizable per compiler as well?
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
- Re: [O] babel C, C++, D enhancement, (continued)
- Re: [O] babel C, C++, D enhancement, Thierry Banel, 2014/06/08
- Re: [O] babel C, C++, D enhancement, Eric Schulte, 2014/06/08
- Re: [O] babel C, C++, D enhancement, Thierry Banel, 2014/06/09
- Re: [O] babel C, C++, D enhancement, Achim Gratz, 2014/06/13
- Re: [O] babel C, C++, D enhancement, Eric Schulte, 2014/06/13
- Re: [O] babel C, C++, D enhancement, Thierry Banel, 2014/06/13
- Re: [O] babel C, C++, D enhancement, Achim Gratz, 2014/06/16
- Re: [O] babel C, C++, D enhancement, Thierry Banel, 2014/06/16
- Re: [O] babel C, C++, D enhancement, Thomas S. Dye, 2014/06/16
- Re: [O] babel C, C++, D enhancement, Nick Dokos, 2014/06/16
- Re: [O] babel C, C++, D enhancement,
Achim Gratz <=
- Re: [O] babel C, C++, D enhancement, Thierry Banel, 2014/06/17
- Re: [O] babel C, C++, D enhancement, Bastien, 2014/06/13
- Re: [O] conforming commit messages Was: babel C, C++, D enhancement, Eric Schulte, 2014/06/13
- Re: [O] babel C, C++, D enhancement, Eric Abrahamsen, 2014/06/13
- Re: [O] Patch for testing `org-open-at-point', Achim Gratz, 2014/06/02
- Re: [O] Patch for testing `org-open-at-point', Bastien, 2014/06/03