[RTEMS Project] #4632: Error in rtems/thread.hpp with GCC 12
RTEMS trac
trac at rtems.org
Fri Mar 18 13:59:22 UTC 2022
#4632: Error in rtems/thread.hpp with GCC 12
------------------------------+-------------------------
Reporter: Sebastian Huber | Owner: Chris Johns
Type: defect | Status: assigned
Priority: normal | Milestone: 6.1
Component: lib | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
------------------------------+-------------------------
There is a compile error with GCC 12:
{{{
In file included from
/home/EB/sebastian_h/src/rtems/cpukit/librtemscxx/thread.cpp:35:
/home/EB/sebastian_h/src/rtems/cpukit/include/rtems/thread.hpp:449:14:
error: redefinition of default argument for 'class<template-
parameter-1-4>'
449 | class = thread::enable_if_attributes<A>>
| ^~~~~
/home/EB/sebastian_h/src/rtems/cpukit/include/rtems/thread.hpp:312:17:
note: original definition appeared here
312 | class = enable_if_attributes<A>>
| ^~~~~
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4632>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list