ChuanqiXu9 wrote:
> > I tried to take a look at eigen and it looks like the declaration looks
> > well and I had no clue how that happens. A reproducer may be necessary here
> > to proceed. Thanks in advance.
>
> I can reproduce using the following sources and invocations outlined in
> `run.sh`
> [usx95@363d877](https://github.com/usx95/llvm-project/commit/363d877bd317638b197f57c3591860e1688950d5)
>
> ```shell
> > module-reproducer/run.sh
>
> Building sensor_data.h
> Building tensor.h
> Building base.cc
> In module 'sensor_data':
> ../../eigen/Eigen/src/Core/../plugins/CommonCwiseBinaryOps.inc:47:29:
> warning: inline function 'Eigen::operator*<float>' is not defined
> [-Wundefined-inline]
> 47 | EIGEN_MAKE_SCALAR_BINARY_OP(operator*, product)
> | ^
> ../../eigen/Eigen/src/Geometry/AngleAxis.h:221:35: note: used here
> 221 | Vector3 sin_axis = sin(m_angle) * m_axis;
> | ^
> 1 warning generated.
> ```
>
> This warning is a new breakage and does not happen without this change
> (ignore the linker failure). Let me know if you can reproduce or need help
> reproducing.
Sorry, could you provide the hash id for the commit that avoid the warning? I
tried with d54953ef472bfd8d4b503aae7682aa76c49f8cc0 but I still saw the
warning. I suspected if it is due to cache so I add `rm -fr
~/.cache/clang/ModuleCache/` in the top of the script and `rm -f ${sensor_data}
&& rm -f ${tensor}` in the end but I still saw the failures.
I am using libc++17. What's your environment?
https://github.com/llvm/llvm-project/pull/83237
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits