unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Feng Li <fengli@blackmagic-design.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#1177: 23.0.60; cc-mode cannot recognize pointer array declaretions
Date: Thu, 16 Oct 2008 17:37:51 +1100	[thread overview]
Message-ID: <81r66hqc3k.fsf@blackmagic-design.com> (raw)


Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

cc-mode cannot fontify the following code correctly, where
'prUTF16Char*' should have the type face and sampleRateStrings should
have the variable face, but they both are displayed in regular text
color.

prUTF16Char*            sampleRateStrings[] = {L"48000Hz"};

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/emacs/etc/DEBUG for instructions.


In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-10-14 on SCUMBAG
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.2) --cflags -I../../emacs_libs/inc'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: C++/l

Minor modes in effect:
  cwarn-mode: t
  display-time-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  cua-mode: t
  semantic-idle-scheduler-mode: t
  which-function-mode: t
  show-paren-mode: t
  global-auto-revert-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
n P N P <return> <return> <return> <return> <return> 
<return> <return> <help-echo> <down-mouse-1> <mouse-movement> 
<mouse-2> <help-echo> <down-mouse-1> <mouse-1> <help-echo> 
<down> <M-up> <up> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <return> <return> <return> 
<return> <return> <return> <M-down> <M-up> <M-down> 
<up> <up> <up> <up> q C-x 5 0 <home> <home> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <S-up> <S-up> <S-up> 
<S-up> <S-up> <S-up> <S-up> <S-up> <S-up> <S-up> <S-up> 
<S-up> <S-up> <S-up> <S-up> <S-up> <S-up> <S-up> <S-up> 
<S-up> <up> <next> <next> <next> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <end> <up> <end> <home> <end> 
<home> <down> <down> <down> <down> <down> <down> <down> 
<end> <up> <end> <home> <end> <C-left> <C-left> <C-left> 
<C-left> <C-left> <C-left> <C-left> <C-left> <C-left> 
<home> <home> <M-f5> <down> <down> <down> <down> <down> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<up> <up> <up> <C-right> <delete> C-z <down> <M-f5> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<end> <home> <prior> <prior> <prior> <next> <next> 
<next> <next> <prior> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <end> <S-home> <C-insert> <M-right> <M-left> 
<next> <next> <next> <next> <prior> <prior> <prior> 
<prior> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <down> <down> <down> <down> <down> <down> <M-right> 
<M-left> <up> <up> <up> <up> <home> M-x r e p o r t 
SPC <tab> C-g <end> <S-home> <C-insert> M-x <up> <up> 
<S-end> <delete> r e p o <tab> r t <tab> <return>

Recent messages:
Generating summary...done
Mark set
insert-for-yank: Buffer is read-only: #<buffer *Article*>
End of message [4 times]
Undo...
Undo!
Mark set
Quit
Mark set
Making completion list...

-- 
Feng Li

Blackmagic Design
fengli@blackmagic-design.com
www.blackmagic-design.com






             reply	other threads:[~2008-10-16  6:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16  6:37 Feng Li [this message]
2011-10-03 19:25 ` bug#1177: 23.0.60; cc-mode cannot recognize pointer array declaretions Glenn Morris
2012-08-11 15:02 ` bug#1177: 24.1.1; cc-mode cannot recognize function prototypes returning a pointer Stéphane Castelli
2018-06-23 23:26   ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81r66hqc3k.fsf@blackmagic-design.com \
    --to=fengli@blackmagic-design.com \
    --cc=1177@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).