digitalmars.D.learn - dstep problem: "fatal error: 'limits.h' file not found"
- Joseph Rushton Wakeling (13/13) Nov 25 2015 I've just built and installed dstep (on Ubuntu 15.10, using
- Jacob Carlborg (7/19) Nov 25 2015 Hmm, I was pretty sure I fixed this, but perhaps not for that file.
- Joseph Rushton Wakeling (4/9) Nov 26 2015 OK, I'll do that this evening once I've had an opportunity to
- Jacob Carlborg (5/7) Nov 26 2015 Of course, a pull request is even more welcome. Should be very simple to...
I've just built and installed dstep (on Ubuntu 15.10, using libclang-3.7) but whenever I try to run it on a header file, I run into the error message: File(8AC8E0, "")/usr/include/limits.h:123:16: fatal error: 'limits.h' file not found I suspect this is a libclang problem, but does anyone have any advice how to address it? It appears to be occurring in these lines in /usr/include/limits.h: #if defined __GNUC__ && !defined _GCC_LIMITS_H_ /* `_GCC_LIMITS_H_' is what GCC's file defines. */ #endif
Nov 25 2015
On 2015-11-25 20:52, Joseph Rushton Wakeling wrote:I've just built and installed dstep (on Ubuntu 15.10, using libclang-3.7) but whenever I try to run it on a header file, I run into the error message: File(8AC8E0, "")/usr/include/limits.h:123:16: fatal error: 'limits.h' file not found I suspect this is a libclang problem, but does anyone have any advice how to address it? It appears to be occurring in these lines in /usr/include/limits.h: #if defined __GNUC__ && !defined _GCC_LIMITS_H_ /* `_GCC_LIMITS_H_' is what GCC's file defines. */ #endifHmm, I was pretty sure I fixed this, but perhaps not for that file. Please report an issue. In the meantime there's a workaround in the documentation [1], second paragraph, perhaps not very clear though. [1] https://github.com/jacob-carlborg/dstep#libclang -- /Jacob Carlborg
Nov 25 2015
On Thursday, 26 November 2015 at 07:28:37 UTC, Jacob Carlborg wrote:Hmm, I was pretty sure I fixed this, but perhaps not for that file. Please report an issue. In the meantime there's a workaround in the documentation [1], second paragraph, perhaps not very clear though. [1] https://github.com/jacob-carlborg/dstep#libclangOK, I'll do that this evening once I've had an opportunity to check the workaround etc. Thanks!
Nov 26 2015
On 2015-11-26 10:55, Joseph Rushton Wakeling wrote:OK, I'll do that this evening once I've had an opportunity to check the workaround etc. Thanks!Of course, a pull request is even more welcome. Should be very simple to fix. -- /Jacob Carlborg
Nov 26 2015