Re: [CEDET-devel] Cedet - Wrong type argument , stringp, 1
Brought to you by:
zappo
From: sudheesh <sud...@gm...> - 2013-01-16 11:34:19
|
Hi David, The expression (semantic-gcc-query "cpp" "-E" "-dM" "-x" "c++" "/dev/null") returns 1. I didn't see a bunch of #defines, though. I am not familiar with Elisp much. So couldn't do any further debugging. I executed cpp -E -dM -x c++ /dev/null in a terminal and got the following error. sudheesh@EliteBook-8460p:~$ cpp -E -dM -x c++ /dev/null cpp: error trying to exec 'cc1plus': execvp: No such file or directory sudheesh@EliteBook-8460p:~$ regards, Sudheesh. On Wednesday 16 January 2013 02:37 AM, David Engster wrote: > sudheesh writes: >> Here you go. > [...] > > Thanks, that looks OK. > > Could you please evaluate the following in your Emacs and look what gets > output to the minibuffer: > > (semantic-gcc-query "cpp" "-E" "-dM" "-x" "c++" "/dev/null") > > (If you don't know what "evaluate" means here: put cursor behind the > right parenthesis and hit C-x C-e). > > You should see a bunch of #define's. Judging from your backtrace, it > seems that it returns 1. If that is the case, what does > > cpp -E -dM -x c++ /dev/null > > return on your system? > > If you know your way around Elisp, you could step through > `semantic-gcc-query' to see what happens. > > -David |