glotzerlab / hoomd-blue

Molecular dynamics and Monte Carlo soft matter simulation on GPUs.
http://glotzerlab.engin.umich.edu/hoomd-blue
BSD 3-Clause "New" or "Revised" License
343 stars 132 forks source link

Build fails with clang-19: reference to non-static member function must be called #1924

Closed yurivict closed 3 weeks ago

yurivict commented 3 weeks ago

Description

In file included from /wrkdirs/usr/ports/science/py-hoomd-blue/work/hoomd-blue-4.9.0/hoomd/Action.cc:4:
In file included from /wrkdirs/usr/ports/science/py-hoomd-blue/work/hoomd-blue-4.9.0/hoomd/Action.h:15:
In file included from /wrkdirs/usr/ports/science/py-hoomd-blue/work/hoomd-blue-4.9.0/hoomd/SharedSignal.h:7:
/wrkdirs/usr/ports/science/py-hoomd-blue/work/hoomd-blue-4.9.0/hoomd/extern/nano-signal-slot/nano_signal_slot.hpp:46:45: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
   46 |         Observer::insert(Delegate::template bind (instance), this);
      |                                             ^
/wrkdirs/usr/ports/science/py-hoomd-blue/work/hoomd-blue-4.9.0/hoomd/extern/nano-signal-slot/nano_signal_slot.hpp:87:45: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
   87 |         Observer::remove(Delegate::template bind (instance), this);
      |                                             ^
In file included from /wrkdirs/usr/ports/science/py-hoomd-blue/work/hoomd-blue-4.9.0/hoomd/Action.cc:4:
In file included from /wrkdirs/usr/ports/science/py-hoomd-blue/work/hoomd-blue-4.9.0/hoomd/Action.h:16:
In file included from /wrkdirs/usr/ports/science/py-hoomd-blue/work/hoomd-blue-4.9.0/hoomd/SystemDefinition.h:15:
In file included from /wrkdirs/usr/ports/science/py-hoomd-blue/work/hoomd-blue-4.9.0/hoomd/mpcd/ParticleData.h:31:
/wrkdirs/usr/ports/science/py-hoomd-blue/work/hoomd-blue-4.9.0/hoomd/GPUFlags.h:160:27: error: reference to non-static member function must be called
  160 |     this->resetFlags(from.readFlags);
      |                      ~~~~~^~~~~~~~~
3 errors generated.

log

Version: 4.9.0 clang-19 FreeBSD 14.1

Script

n/a

Input files

No response

Output

n/a

Expected output

No response

Platform

Linux

Installation method

None

HOOMD-blue version

4.9.0

Python version

3.11