ofxIO icon indicating copy to clipboard operation
ofxIO copied to clipboard

'kPrefixSuffix': array bounds overflow | Windows 11 / VS 2022

Open moebiussurfing opened this issue 2 years ago • 4 comments

Hey @bakercp ,

I am getting this error on Windows 11/ VS 2022

Severity Code Description Project File Line Suppression State Error C2117 'kPrefixSuffix': array bounds overflow example_directory_list C:\Users\moebi\Documents\openFrameworks\addons\ofxIO\libs\brotli\src\common\transform.c 27

image

Could be related to that C++ 17 commit? I am using OF / master.

moebiussurfing avatar Aug 08 '23 08:08 moebiussurfing

That appears to be in the brotli compression source. Perhaps that source version needs to be updated.

bakercp avatar Aug 08 '23 14:08 bakercp

I rolled back to some 2019 commits but I am getting other errors too:

image

I remember some months ago that it was working in Windows 10 / VS 2019. Always develop branch.

moebiussurfing avatar Aug 09 '23 02:08 moebiussurfing

This is using master branch:

image

moebiussurfing avatar Aug 09 '23 02:08 moebiussurfing

ok. It works by rolling back develop branch to the last 2019 commits. but for OF last release 10.11.2 or GitHub path-release. Maybe it could be nice to have the master / stable branch settled on here.

moebiussurfing avatar Aug 12 '23 04:08 moebiussurfing