flatbuffers icon indicating copy to clipboard operation
flatbuffers copied to clipboard

[fix compile error] Remove incorrect @return documentation from CreateStringImpl function

Open zct opened this issue 2 months ago • 2 comments

compiler: clang++ version: 21.1.0

flatbuffers/include/flatbuffers/flatbuffer_builder.h:1400:8: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] 1400 | /// @return Returns the offset in the buffer where the string starts. | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated

zct avatar Oct 09 '25 12:10 zct

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Oct 09 '25 12:10 google-cla[bot]

hey @zct - this pr looks great and I would love to merge it. I will need you to complete the Contributor License Agreement to do so!

jtdavis777 avatar Dec 03 '25 03:12 jtdavis777