bug3DLDF - Bugs: bug #48345, Fails to compile using G++-6

 
 

bug #48345: Fails to compile using G++-6

Submitted by:  Hilmar Preusse <hpreusse>
Submitted on:  Wed 29 Jun 2016 04:10:30 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: Laurence Finston <lfinsto1>
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 13 Mar 2017 08:40:05 PM UTC, comment #1:

The change in gcc 6 that FTBFS 3dldf is the change of the default C++ mode from gnu++98 to gnu++14. In Debian we work arounded the problem by falling back to gnu++14.

Hilmar Preusse <hpreusse>
Wed 29 Jun 2016 04:10:30 PM UTC, original submission:

Down here in the Debian bug tracking system we got a report. It says that the source code can't be compiled using the GCC-/G++-6 compiler suite: https://bugs.debian.org/811794 . This can be reproduced easily on a Debian system.

g++-6 -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o parser.o parser.c++
parser.y++: In function ‘int yyparse(yyscan_t)’:
parser.y++:40411:13: error: reference to ‘conditional’ is ambiguous
int status= conditional(scanner_node,i);
^~~~~~~~~~~
In file included from parser.y++:17:0:
./io.web:5251:1: note: candidates are: int Scan_Parse::conditional(Scanner_Node, int)
Scan_Parse::conditional(Scanner_Node scanner_node,
^ ~~~~~
In file included from /usr/include/c++/6/bits/move.h:57:0,
from /usr/include/c++/6/bits/stl_pair.h:59,
from /usr/include/c++/6/utility:70,
from /usr/include/c++/6/algorithm:60,
from ./loader.web:221,
from parser.y++:12:
/usr/include/c++/6/type_traits:104:12: note: template<bool <anonymous>, class, class> struct std::conditional
struct conditional;
^~~~~~~~~~~
parser.y++:40459:13: error: reference to ‘conditional’ is ambiguous
int status= conditional(static_cast<Scanner_Node> (parameter),discard);
^~~~~~~~~~~
In file included from parser.y++:17:0:
./io.web:5251:1: note: candidates are: int Scan_Parse::conditional(Scanner_Node, int)
Scan_Parse::conditional(Scanner_Node scanner_node,
^ ~~~~~
In file included from /usr/include/c++/6/bits/move.h:57:0,
from /usr/include/c++/6/bits/stl_pair.h:59,
from /usr/include/c++/6/utility:70,
from /usr/include/c++/6/algorithm:60,
from ./loader.web:221,
from parser.y++:12:
/usr/include/c++/6/type_traits:104:12: note: template<bool <anonymous>, class, class> struct std::conditional
struct conditional;
^~~~~~~~~~~
parser.y++:40502:13: error: reference to ‘conditional’ is ambiguous
int status= conditional(static_cast<Scanner_Node> (parameter),discard);
^~~~~~~~~~~
In file included from parser.y++:17:0:
./io.web:5251:1: note: candidates are: int Scan_Parse::conditional(Scanner_Node, int)
Scan_Parse::conditional(Scanner_Node scanner_node,
^ ~~~~~
In file included from /usr/include/c++/6/bits/move.h:57:0,
from /usr/include/c++/6/bits/stl_pair.h:59,
from /usr/include/c++/6/utility:70,
from /usr/include/c++/6/algorithm:60,
from ./loader.web:221,
from parser.y++:12:
/usr/include/c++/6/type_traits:104:12: note: template<bool <anonymous>, class, class> struct std::conditional
struct conditional;
^~~~~~~~~~~

Hilmar Preusse <hpreusse>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by lfinsto1 (Updated the item)
  • -unavailable- added by hpreusse (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 30 Jun 2016 12:33:05 PM UTClfinsto1Assigned toNone=>lfinsto1

    Back to the top


    Powered by Savane 3.1-cleanup1