[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 --- Comment #11 from Andrew Pinski --- (In reply to ensadc from comment #4) > Further reduced: > > template < int > struct b { }; > template < typename n > struct g { > typedef b< sizeof(n) > l; > }; > template < typename h, typename =

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2019-02-07 Thread gael.guennebaud at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 --- Comment #10 from Gael Guennebaud --- I created a simplified example that has no dependencies at all: https://godbolt.org/z/uIy1Uu You can workaround the compilation issue by either: #1 - commenting line 16 and uncommenting line 15,

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2019-02-07 Thread chtz at informatik dot uni-bremen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 --- Comment #9 from Christoph Hertzberg --- Independent of this issue, the forward declaration in boost/serialization/shared_ptr_helper.hpp does not make sense. I created a PR to fix that: https://github.com/boostorg/serialization/pull/144

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2019-02-06 Thread chtz at informatik dot uni-bremen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 Christoph Hertzberg changed: What|Removed |Added CC||chtz at informatik dot

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2019-02-06 Thread schmitt.marc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 --- Comment #7 from Marc Schmitt --- Created attachment 45619 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45619=edit Preprocessed test case with eigen-only dependency

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2019-02-06 Thread schmitt.marc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 --- Comment #6 from Marc Schmitt --- Created attachment 45618 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45618=edit Reduced test case with eigen-only dependency

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2019-02-06 Thread schmitt.marc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 Marc Schmitt changed: What|Removed |Added CC||schmitt.marc at gmail dot com ---

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2018-09-01 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2018-08-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > Here's the result of many hours of creduction (and some manual reduction)

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2018-08-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 --- Comment #2 from Jonathan Wakely --- Created attachment 44642 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44642=edit creduce output Here's the result of many hours of creduction with this interestingness test: #!/bin/bash

[Bug c++/84075] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2018-08-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 Jonathan Wakely changed: What|Removed |Added Keywords|needs-reduction | Status|UNCONFIRMED