unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27410: Emacs CEDET and Semantic c-mode problem
@ 2017-06-17 14:33 emin orhan özbakır
  2017-06-19 19:38 ` Glenn Morris
  0 siblings, 1 reply; 6+ messages in thread
From: emin orhan özbakır @ 2017-06-17 14:33 UTC (permalink / raw)
  To: 27410

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]

I updated my Fedora Release and kernel. I have some problem with emacs when
load c file with semantic-mode open. It was return error as (stringp, 4).
"Could not query gcc for defines. Maybe g++ is not installed.".

[-- Attachment #2: Type: text/html, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#27410: Emacs CEDET and Semantic c-mode problem
  2017-06-17 14:33 bug#27410: Emacs CEDET and Semantic c-mode problem emin orhan özbakır
@ 2017-06-19 19:38 ` Glenn Morris
  2017-06-19 21:04   ` emin orhan özbakır
  0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2017-06-19 19:38 UTC (permalink / raw)
  To: emin orhan özbakır; +Cc: 27410


What does:

LC_ALL=C cpp -E -dM -x c++ /dev/null

return?





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#27410: Emacs CEDET and Semantic c-mode problem
  2017-06-19 19:38 ` Glenn Morris
@ 2017-06-19 21:04   ` emin orhan özbakır
  2017-06-19 22:05     ` Glenn Morris
  0 siblings, 1 reply; 6+ messages in thread
From: emin orhan özbakır @ 2017-06-19 21:04 UTC (permalink / raw)
  To: Glenn Morris, 27410

[-- Attachment #1: Type: text/plain, Size: 546 bytes --]

I am new user. I type line to terminal. And error returned.

[lynx@cjs ~]$ LC_ALL=C cpp -E -dM -x c++ /dev/null
bash: warning: setlocale: LC_ALL: cannot change locale (C cpp -E -dM -x c++
/dev/null): Invalid argument
cpp: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.


2017-06-19 22:38 GMT+03:00 Glenn Morris <rgm@gnu.org>:

>
> What does:
>
> LC_ALL=C cpp -E -dM -x c++ /dev/null
>
> return?
>

[-- Attachment #2: Type: text/html, Size: 936 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#27410: Emacs CEDET and Semantic c-mode problem
  2017-06-19 21:04   ` emin orhan özbakır
@ 2017-06-19 22:05     ` Glenn Morris
  2017-06-19 22:46       ` Glenn Morris
  0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2017-06-19 22:05 UTC (permalink / raw)
  To: emin orhan özbakır; +Cc: 27410


(Please reply to all.)

emin orhan özbakır wrote:

> I am new user. I type line to terminal. And error returned.
>
> [lynx@cjs ~]$ LC_ALL=C cpp -E -dM -x c++ /dev/null
> bash: warning: setlocale: LC_ALL: cannot change locale (C cpp -E -dM -x c++
> /dev/null): Invalid argument

I don't know how to explain that result, unless you actually typed:

LC_ALL="C cpp -E -dM -x c++ /dev/null"

(in quotes)

> cpp: internal compiler error: Segmentation fault (program cc1plus)

But then if you did type "..." I don't know how or why cpp apparently ran.


In any case, it looks like the problem is with your system, not with Emacs.
I would suggest asking for help on a Fedora users list.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#27410: Emacs CEDET and Semantic c-mode problem
  2017-06-19 22:05     ` Glenn Morris
@ 2017-06-19 22:46       ` Glenn Morris
  2017-06-20  0:26         ` emin orhan özbakır
  0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2017-06-19 22:46 UTC (permalink / raw)
  To: emin orhan özbakır; +Cc: 27410

Glenn Morris wrote:

>> [lynx@cjs ~]$ LC_ALL=C cpp -E -dM -x c++ /dev/null
>> bash: warning: setlocale: LC_ALL: cannot change locale (C cpp -E -dM -x c++
>> /dev/null): Invalid argument
>
> I don't know how to explain that result, unless you actually typed:
>
> LC_ALL="C cpp -E -dM -x c++ /dev/null"
>
> (in quotes)

Or maybe you somehow got non-breaking-space instead of space, eg
from copy/paste. Please try typing the command by hand.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#27410: Emacs CEDET and Semantic c-mode problem
  2017-06-19 22:46       ` Glenn Morris
@ 2017-06-20  0:26         ` emin orhan özbakır
  0 siblings, 0 replies; 6+ messages in thread
From: emin orhan özbakır @ 2017-06-20  0:26 UTC (permalink / raw)
  To: Glenn Morris, 27410

[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]

Thanks Morris,

>Or maybe you somehow got non-breaking-space instead of space, eg
>from copy/paste. Please try typing the command by hand.

>I don't know how to explain that result, unless you actually typed:
>LC_ALL="C cpp -E -dM -x c++ /dev/null"
>(in quotes)

Nothing change. I tried typing by hand, with "...", . I will try again
tomorrow .

>In any case, it looks like the problem is with your system, not with Emacs.
>I would suggest asking for help on a Fedora users list.

I will send e-mail to fedora groups.

>In any case, it looks like the problem is with your system, not with Emacs.
>I would suggest asking for help on a Fedora users list.

maybe.... yes, it look like problem with my system. I have fedora 25 guest
virtual machine vbox- 5.1.18 r114002. Host is win 8.1.

When I wanna clean up somethings, all things always go wrong. I'm unlucky
man. I like Gnu/linux, free softwares, I don't give up! :)

2017-06-20 1:46 GMT+03:00 Glenn Morris <rgm@gnu.org>:

> Glenn Morris wrote:
>
> >> [lynx@cjs ~]$ LC_ALL=C cpp -E -dM -x c++ /dev/null
> >> bash: warning: setlocale: LC_ALL: cannot change locale (C cpp -E -dM -x
> c++
> >> /dev/null): Invalid argument
> >
> > I don't know how to explain that result, unless you actually typed:
> >
> > LC_ALL="C cpp -E -dM -x c++ /dev/null"
> >
> > (in quotes)
>
> Or maybe you somehow got non-breaking-space instead of space, eg
> from copy/paste. Please try typing the command by hand.
>

[-- Attachment #2: Type: text/html, Size: 2047 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-20  0:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-17 14:33 bug#27410: Emacs CEDET and Semantic c-mode problem emin orhan özbakır
2017-06-19 19:38 ` Glenn Morris
2017-06-19 21:04   ` emin orhan özbakır
2017-06-19 22:05     ` Glenn Morris
2017-06-19 22:46       ` Glenn Morris
2017-06-20  0:26         ` emin orhan özbakır

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).