Issues.00593 - lordmundi/wikidoctest GitHub Wiki
00593: DSF_LogStatusQ in PixelStream does not work on the Mac.
Summary: DSF_LogStatusQ in PixelStream does not work on the Mac.
Created: 2017–03–09 17:25
Status: Released
Category: Bug
From: alin
Version: 2.3
Released_In: 2.4
Description:
In dsp_plugin_common.h there are 3 routines DSF_LogStatusQ, DSF_LogWarningQ, and DSF_LogErrorQ that take variable arguments and creates log messages. The problem is that the vsnprintf(NULL, 0, f, args) call does not work on the Mac and causes a core dump. These calls are only used in one place, PixelStream. Modify the code to use the "Q"-less counterparts.
Comments
frankie March 15, 2017, at 02:28 PM: For commit information, this was accidentally committed under issue Issues.00558. Note that at this time, the macros for the "Q" versions aren't converted to work with mac - we just removed references to them in the affected plugins. We may go back later and fix.