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

Bug#702784: marked as done (Use of nested functions in configure check)



Your message dated Mon, 30 Apr 2018 22:02:55 +0000
with message-id <[🔎] E1fDGsp-000Gau-O0@fasolo.debian.org>
and subject line Bug#888986: Removed package(s) from unstable
has caused the Debian Bug report #702784,
regarding Use of nested functions in configure check
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
702784: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702784
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gnats
Version: 4.1.0-2
Usertags: goto-cc

gnats/configure.in.nse uses AC_TRY_COMPILE to check for a properly supported
"const". The second argument of this macro is supposed to be a function body,
but this configure.in includes two function definitions (see result below),
resulting in nested functions.

| int
| main ()
| {
| const char *foo(const char *x) { return x; }
|                 int bar(const char *x) { return x == foo(x); }
|   ;
|   return 0;
| }

This is accepted by GCC, but other compilers (including CLANG) reject this GCC
extension. As a result, the gcc command lines include -Dconst=, which breaks
the build when trying to compile fconfigl.c.

Best,
Michael

Attachment: pgpitrwtu9053.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 4.1.0-5+rm

Dear submitter,

as the package gnats has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/888986

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: