On 2024-02-27 3:32 am, Werner LEMBERG wrote:
Looking at some MacPorts log files from Mac OS 14.2.1 (which uses the
system's `clang` compiler) I see

```
flower/include/flower-proto.hh:26:30:
  warning: implicit conversion changes signedness:
           'int' to 'const vsize' (aka 'const unsigned long')
           [-Wsign-conversion]
inline constexpr vsize VPOS (-1);
                       ~~~~  ^~
```

for almost all C++ fies, making the log file quite noisy.  Dan, any
idea how to fix this gracefully?

Since vsize is just a typedef of size_t, would it make sense to use SIZE_MAX when defined VPOS instead of a manual cast of negative one?


-- Aaron Hill

Reply via email to