Page MenuHomeFreeBSD

converters/pdf2djvu: fix build on GCC architectures
ClosedPublic

Authored by pkubaj on Oct 14 2019, 5:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 24, 1:55 PM
Unknown Object (File)
Thu, Oct 24, 1:45 PM
Unknown Object (File)
Thu, Oct 24, 1:44 PM
Unknown Object (File)
Oct 3 2024, 5:17 AM
Unknown Object (File)
Oct 2 2024, 6:15 AM
Unknown Object (File)
Sep 27 2024, 8:15 PM
Unknown Object (File)
Sep 27 2024, 3:40 AM
Unknown Object (File)
Sep 24 2024, 4:10 AM
Subscribers
None

Details

Summary

When compiling with GCC, as used on GCC architectures, it errors with:
sys-uuid.cc:96:12: error: 'strlen' was not declared in this scope

assert(strlen(s) == 36U);
       ^~~~~~

sys-uuid.cc:96:12: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable