emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CEDET calls cpp -E -dM -x c++ /dev/null


From: Lennart Borgman
Subject: Re: CEDET calls cpp -E -dM -x c++ /dev/null
Date: Wed, 1 Jul 2009 22:25:32 +0200

>> >> However looking through Emacs lisp sources I see several uses
>> >> of just /dev/null.
>> >
>> > They are all bugs, unless they are intended to work only with Unix and
>> > GNU systems.
>>
>> Thanks Eli. Should we file a bug report for this so it perhaps will
>> not be forgotten?
>
> Yes, please.

Done.

I see another problem in semantic-gcc-setup. It tries to guess the
include paths and does this

  (let* ((try-paths (list "/usr/include" (concat prefix "/include")
                          (concat prefix "/include/c++/" ver)
                          (concat prefix "/include/c++/" ver "/" host )
                          )))

Can't gcc or cpp give some better information about include paths that
semantic can use? Where is this information?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]