pkgsrc-Bugs archive

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

Re: pkg/47938: editors/emacs 24.3 DragonFly 3.5 xdisp.c expected specifier-qualifier-list before 'typedef'



The following reply was made to PR pkg/47938; it has been noted by GNATS.

From: Makoto Fujiwara <makoto%ki.nu@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/47938: editors/emacs 24.3 DragonFly 3.5 xdisp.c expected 
specifier-qualifier-list before 'typedef'
Date: Mon, 24 Jun 2013 20:01:52 +0900

 I've checked the recent Emacs development found at
 wip/emacs-current.
 There is some related logic change, but the result is
 still the same, cannot build.
 
 ...
 xdisp.c: In function 'message_dolog':
 xdisp.c:9511:21: error: expected specifier-qualifier-list before 'typedef'
 xdisp.c: In function 'decode_mode_spec_coding':
 xdisp.c:21254:18: error: expected specifier-qualifier-list before 'typedef'
 gmake[2]: *** [xdisp.o] Error 1
 gmake[2]: Leaving directory `/usr/pkgsrc/wip/emacs-current/work/emacs/src'
 gmake[1]: *** [src] Error 2
 gmake[1]: Leaving directory `/usr/pkgsrc/wip/emacs-current/work/emacs'
 gmake: *** [bootstrap] Error 2
 *** Error code 2
 
 ---
 Makoto Fujiwara, 
 Chiba, Japan, Narita Airport and Disneyland prefecture.
 --- ../../editors/emacs24/work/emacs-24.3/lib/verify.h 2013-06-24 
13:32:47.887010000 +0900
 +++ work/emacs/lib/verify.h    2013-06-24 18:25:34.426917000 +0900
 @@ -31,7 +31,9 @@
     Use this only with GCC.  If we were willing to slow 'configure'
     down we could also use it with other compilers, but since this
     affects only the quality of diagnostics, why bother?  */
 -# if (4 < __GNUC__ || (__GNUC__ == 4 && 6 <= __GNUC_MINOR__)) && !defined 
__cplusplus
 +# if (4 < __GNUC__ + (6 <= __GNUC_MINOR__) \
 +      && (201112L <= __STDC_VERSION__  || !defined __STRICT_ANSI__) \
 +      && !defined __cplusplus)
  #  define _GL_HAVE__STATIC_ASSERT 1
  # endif
  /* The condition (99 < __GNUC__) is temporary, until we know about the
 


Home | Main Index | Thread Index | Old Index