Skip to content

Comments

Increase size of error printing char buffers#66

Open
peci1 wants to merge 1 commit intoros-drivers:masterfrom
peci1:patch-1
Open

Increase size of error printing char buffers#66
peci1 wants to merge 1 commit intoros-drivers:masterfrom
peci1:patch-1

Conversation

@peci1
Copy link

@peci1 peci1 commented Jan 6, 2021

The error message at

CAM_EXCEPT(camera1394::Exception,
"Could not initialize dc1394_context.\n"
"Make sure /dev/raw1394 exists, you have access permission,\n"
"and libraw1394 development package is installed.");

is longer than 100 chars, and GCC 8.3 started figuring this out and reports a warning about the buffer being too small (the size computed by gcc is 165 chars).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant