>> freetype-2.12.1/src/smooth/ftgrays.c: In function 'gray_convert_glyph': >> freetype-2.12.1/src/smooth/ftgrays.c:1968:20: warning: storing the address >> of local variable 'buffer' in 'worker_56(D)->ycells' [-Wdangling-pointer=] >> 1968 | ras.ycells = (PCell*)buffer; >> | ^ >> freetype-2.12.1/src/smooth/ftgrays.c:1950:14: note: 'buffer' declared here> >> 1950 | TCell buffer[FT_MAX_GRAY_POOL]; >> | ^~~~~~ >> freetype-2.12.1/src/smooth/ftgrays.c:1950:14: note: 'worker_56(D)' declared >> here > > Do they really complain that we dare to allocate on the stack? I > don't even know how to address this. There was a request to move > the pool to the heap recently. I do not know if this is an > issue. Same with b/w rasterizer. Same with autohinter.
Exactly my thoughts. Is this warning active by default? If yes, do you have suggestions how to fix it? Werner