Menu

#94 strings.c:273: possible missing comma ?

v1.0_(example)
closed-fixed
nobody
None
5
2022-04-10
2022-04-10
dcb
No

I just tried to compile the package with new C compiler clang-14. It said:

strings.c:273:5: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation]

Source code is

"meters",
"cubic centimeters"
"cubic meters",

Maybe better code:

"meters",
"cubic centimeters",
"cubic meters",

Discussion

  • Corey Minyard

    Corey Minyard - 2022-04-10

    Yep, I'm pushing up a fix now.

    Thanks,

    -corey

     
  • Corey Minyard

    Corey Minyard - 2022-04-10
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB