Skip to content

Commit 2aa3d91

Browse files
committed
Debug compile error
1 parent cba7dee commit 2aa3d91

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Libraries/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,7 @@ add_library(pd-multi SHARED ${SOURCE_FILES} ${ELSE_SOURCES} ${CYCLONE_SOURCES} $
429429
target_compile_definitions(pd-multi PRIVATE ${LIBPD_COMPILE_DEFINITIONS} PDINSTANCE=1 PDTHREADS=1 PLUGDATA=1 VST_CLEANSER=1)
430430
target_include_directories(pd-multi PRIVATE ${ELSE_INCLUDES} ${LUA_INCLUDE_DIR} ${SFONT_INCLUDES})
431431

432-
set_target_properties(pd-multi PROPERTIES
433-
OUTPUT_NAME "pd"
434-
)
432+
set_target_properties(pd-multi PROPERTIES OUTPUT_NAME "pd")
435433

436434
if(UNIX)
437435
target_compile_options(pd PRIVATE -fvisibility=default)

Source/Pd/Interface.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,14 +252,15 @@ struct Interface {
252252

253253
static t_symbol* getUnusedArrayName()
254254
{
255+
/*
255256
sys_lock();
256257
char arraybuf[80] = {};
257258
for (int gcount = 1; gcount < 1000; gcount++) {
258259
snprintf(arraybuf, 80, "array%d", gcount);
259260
if (!pd_findbyclass(gensym(arraybuf), get_garray_class()))
260261
break;
261262
}
262-
sys_unlock();
263+
sys_unlock(); */
263264

264265
return gensym(arraybuf);
265266
}

Source/Pd/Setup.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,7 @@ constexpr int ndefaultfont = std::size(defaultfontshit);
13331333

13341334
int Setup::initialisePd()
13351335
{
1336+
13361337
static int initialized = 0;
13371338
if (!initialized) {
13381339
#ifdef _MSC_VER

0 commit comments

Comments
 (0)