Bug#1073311: pd-flext: FTBFS: m_pd.h:575:52: error: static assertion failed: field must be t_float!
Source: pd-flext
Version: 0.6.3-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20240615 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.6.3\" -DPACKAGE_STRING=\"flext\ 0.6.3\" -DPACKAGE_BUGREPORT=\"gr@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DFLEXT_SYS=2 -DPD_FLOATSIZE=64 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DFLEXT_USE_CMEM=1 -I. -I../../../../source -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -O3 -static -I/usr/include/pd -I/usr/include/stk -I/usr/include/SndObj -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libflext_pd64_s_la-flattr_ed.lo `test -f 'flattr_ed.cpp' || echo '../../../../source/'`flattr_ed.cpp
> libtool: compile: g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.6.3\" "-DPACKAGE_STRING=\"flext 0.6.3\"" -DPACKAGE_BUGREPORT=\"gr@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DFLEXT_SYS=2 -DPD_FLOATSIZE=64 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DFLEXT_USE_CMEM=1 -I. -I../../../../source -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -O3 -I/usr/include/pd -I/usr/include/stk -I/usr/include/SndObj -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../../../source/fldsp.cpp -o libflext_pd64_s_la-fldsp.o
> libtool: compile: g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.6.3\" "-DPACKAGE_STRING=\"flext 0.6.3\"" -DPACKAGE_BUGREPORT=\"gr@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DFLEXT_SYS=2 -DPD_FLOATSIZE=64 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DFLEXT_USE_CMEM=1 -I. -I../../../../source -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -O3 -I/usr/include/pd -I/usr/include/stk -I/usr/include/SndObj -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../../../source/flbase.cpp -o libflext_pd64_s_la-flbase.o
> libtool: compile: g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.6.3\" "-DPACKAGE_STRING=\"flext 0.6.3\"" -DPACKAGE_BUGREPORT=\"gr@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DFLEXT_SYS=2 -DPD_FLOATSIZE=64 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DFLEXT_USE_CMEM=1 -I. -I../../../../source -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -O3 -I/usr/include/pd -I/usr/include/stk -I/usr/include/SndObj -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../../../source/fllib.cpp -o libflext_pd64_s_la-fllib.o
> libtool: compile: g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.6.3\" "-DPACKAGE_STRING=\"flext 0.6.3\"" -DPACKAGE_BUGREPORT=\"gr@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DFLEXT_SYS=2 -DPD_FLOATSIZE=64 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DFLEXT_USE_CMEM=1 -I. -I../../../../source -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -O3 -I/usr/include/pd -I/usr/include/stk -I/usr/include/SndObj -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../../../source/flext.cpp -o libflext_pd64_s_la-flext.o
> libtool: compile: g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.6.3\" "-DPACKAGE_STRING=\"flext 0.6.3\"" -DPACKAGE_BUGREPORT=\"gr@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DFLEXT_SYS=2 -DPD_FLOATSIZE=64 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DFLEXT_USE_CMEM=1 -I. -I../../../../source -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -O3 -I/usr/include/pd -I/usr/include/stk -I/usr/include/SndObj -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../../../source/flbuf.cpp -o libflext_pd64_s_la-flbuf.o
> libtool: compile: g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.6.3\" "-DPACKAGE_STRING=\"flext 0.6.3\"" -DPACKAGE_BUGREPORT=\"gr@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DFLEXT_SYS=2 -DPD_FLOATSIZE=64 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DFLEXT_USE_CMEM=1 -I. -I../../../../source -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -O3 -I/usr/include/pd -I/usr/include/stk -I/usr/include/SndObj -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../../../source/flattr_ed.cpp -o libflext_pd64_s_la-flattr_ed.o
> libtool: compile: g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.6.3\" "-DPACKAGE_STRING=\"flext 0.6.3\"" -DPACKAGE_BUGREPORT=\"gr@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DFLEXT_SYS=2 -DPD_FLOATSIZE=64 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DFLEXT_USE_CMEM=1 -I. -I../../../../source -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -O3 -I/usr/include/pd -I/usr/include/stk -I/usr/include/SndObj -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../../../source/flattr.cpp -o libflext_pd64_s_la-flattr.o
> libtool: compile: g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.6.3\" "-DPACKAGE_STRING=\"flext 0.6.3\"" -DPACKAGE_BUGREPORT=\"gr@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DFLEXT_SYS=2 -DPD_FLOATSIZE=64 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DFLEXT_USE_CMEM=1 -I. -I../../../../source -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -O3 -I/usr/include/pd -I/usr/include/stk -I/usr/include/SndObj -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../../../source/flxlet.cpp -o libflext_pd64_s_la-flxlet.o
> ../../../../source/flattr_ed.cpp: In function ‘void tclscript()’:
> ../../../../source/flattr_ed.cpp:81:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 81 | sys_vgui(const_cast<char *>(
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> 82 | "proc flext_escatoms {lst} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 83 | "set tmp {}\n"
> | ~~~~~~~~~~~~~~
> 84 | "foreach a $lst {\n"
> | ~~~~~~~~~~~~~~~~~~~~
> 85 | // "set a [regsub {\\\\} $a \\\\\\\\]\n" // replace \ with \\ ... must be first
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 86 | "set a [regsub {\\$} $a \\\\$]\n" // replace $ with \$
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 87 | // "set a [regsub {\\{} $a \\\\\\{]\n" // replace { with \{
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 88 | // "set a [regsub {\\}} $a \\\\\\}]\n" // replace } with \}
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 89 | // "set a [regsub {\\ } $a \\\\\\ ]\n" // replace space with \space
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 90 | "set a [regsub {,} $a \\\\,]\n" // replace , with \,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 91 | "set a [regsub {;} $a \\\\\\;]\n" // replace ; with \;
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 92 | "lappend tmp $a\n"
> | ~~~~~~~~~~~~~~~~~~
> 93 | "}\n"
> | ~~~~~
> 94 | "return $tmp\n"
> | ~~~~~~~~~~~~~~~
> 95 | "}\n")
> | ~~~~~~
> 96 | );
> | ~
> In file included from ../../../../source/flstdc.h:66,
> from ../../../../source/flbase.h:18,
> from ../../../../source/flclass.h:18,
> from ../../../../source/flext.h:60,
> from ../../../../source/flattr_ed.cpp:16:
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:97:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 97 | sys_vgui(const_cast<char *>(
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> 98 | "proc flext_makevalue {id ix} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 99 | // strip "." from the TK id to make a variable name suffix
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 100 | "set vid [string trimleft $id .]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 101 |
> |
> 102 | "set var_attr_name [concat [concat var_name_$ix]_$vid ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 103 | "set var_attr_init [concat [concat var_init_$ix]_$vid ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 104 | "set var_attr_val [concat [concat var_val_$ix]_$vid ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 105 | "set var_attr_save [concat [concat var_save_$ix]_$vid ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 106 | "set var_attr_type [concat [concat var_type_$ix]_$vid ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 107 |
> |
> 108 | "global $var_attr_name $var_attr_init $var_attr_val $var_attr_save $var_attr_type\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 109 |
> |
> 110 | "set lst {}\n"
> | ~~~~~~~~~~~~~~
> 111 |
> |
> 112 | "if { [expr $$var_attr_type] != 0 } {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 113 | // attribute is puttable
> | ~~~~~~~~~~~~~~~~~~~~~~~~
> 114 |
> |
> 115 | "lappend lst [eval concat $$var_attr_name]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 116 |
> |
> 117 | // process current value
> | ~~~~~~~~~~~~~~~~~~~~~~~~
> 118 | "set tmp [flext_escatoms [eval concat $$var_attr_val]]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 119 | "set lst [concat $lst [llength $tmp] $tmp]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 120 |
> |
> 121 | // process init value
> | ~~~~~~~~~~~~~~~~~~~~~
> 122 | "set tmp [flext_escatoms [eval concat $$var_attr_init]]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 123 | "set lst [concat $lst [llength $tmp] $tmp]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 124 |
> |
> 125 | "lappend lst [eval concat $$var_attr_save]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 126 | "}\n"
> | ~~~~~
> 127 |
> |
> 128 | // return list
> | ~~~~~~~~~~~~~~
> 129 | "return $lst\n"
> | ~~~~~~~~~~~~~~~
> 130 | "}\n")
> | ~~~~~~
> 131 | );
> | ~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:132:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 132 | sys_vgui(const_cast<char *>(
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> 133 | "proc flext_apply {id ix} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 134 | "set lst [flext_makevalue $id $ix]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 135 | "set lst [eval concat $lst]\n" // remove curly braces from character escaping
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 136 | "pd [concat $id attributedialog $lst \\;]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 137 | "}\n"
> | ~~~~~
> 138 |
> |
> 139 | "proc flext_applyall {id alen} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 140 | // make a list of the attribute values (including save flags)
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 141 |
> |
> 142 | "set lst {}\n"
> | ~~~~~~~~~~~~~~
> 143 | "for {set ix 1} {$ix <= $alen} {incr ix} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 144 | "set lst [concat $lst [flext_makevalue $id $ix]]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 145 | "}\n"
> | ~~~~~
> 146 | "set lst [eval concat $lst]\n" // remove curly braces from character escaping
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 147 |
> |
> 148 | "pd [concat $id attributedialog $lst \\;]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 149 | "}\n"
> | ~~~~~
> 150 |
> |
> 151 | "proc flext_cancel {id} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 152 | "pd [concat $id cancel \\;]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 153 | "}\n"
> | ~~~~~
> 154 |
> |
> 155 | "proc flext_ok {id alen} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 156 | "flext_applyall $id $alen\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 157 | "flext_cancel $id\n"
> | ~~~~~~~~~~~~~~~~~~~~
> 158 | "}\n")
> | ~~~~~~
> 159 | );
> | ~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:160:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 160 | sys_vgui(const_cast<char *>(
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> 161 | "proc flext_help {id} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~
> 162 | "toplevel $id.hw\n"
> | ~~~~~~~~~~~~~~~~~~~
> 163 | "wm title $id.hw \"Flext attribute editor help\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 164 |
> |
> 165 | "frame $id.hw.buttons\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~
> 166 | "pack $id.hw.buttons -side bottom -fill x -pady 2m\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 167 |
> |
> 168 | "text $id.hw.text -relief sunken -bd 2 -yscrollcommand \"$id.hw.scroll set\" -setgrid 1 -width 80 -height 10 -wrap word\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 169 | "scrollbar $id.hw.scroll -command \"$id.hw.text yview\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 170 | "pack $id.hw.scroll -side right -fill y\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 171 | "pack $id.hw.text -expand yes -fill both\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 172 |
> |
> 173 | "button $id.hw.buttons.ok -text OK -command \"destroy $id.hw\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 174 | "pack $id.hw.buttons.ok -side left -expand 1\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 175 | "bind $id.hw {<KeyPress-Escape>} \"destroy $id.hw\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 176 |
> |
> 177 | "$id.hw.text tag configure big -font {Arial 10 bold}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 178 | "$id.hw.text configure -font {Arial 8 bold}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 179 | "$id.hw.text insert end \""
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 180 | "The flext attribute editor lets you query or change attribute values exposed by an external object. \" big \"\n\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 181 | "Local variable names ($-values) will only be saved as such for init values. "
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 182 | "Alternatively, # can be used instead of $.\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 183 | "Ctrl-Button on a text field will open an editor window where text can be entered more comfortably.\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 184 | "\"\n"
> | ~~~~~~
> 185 | "$id.hw.text configure -state disabled\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 186 | "}\n")
> | ~~~~~~
> 187 | );
> | ~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:188:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 188 | sys_vgui(const_cast<char *>(
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> 189 | "proc flext_copyval {dst src} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 190 | "global $src $dst\n"
> | ~~~~~~~~~~~~~~~~~~~~
> 191 | "set $dst [expr $$src]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~
> 192 | "}\n"
> | ~~~~~
> 193 |
> |
> 194 | "proc flext_textcopy {id idtxt var} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 195 | "global $var\n"
> | ~~~~~~~~~~~~~~~
> 196 | "set txt [eval $idtxt get 0.0 end]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 197 | // strip newline characters
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 198 | "set tmp {}\n"
> | ~~~~~~~~~~~~~~
> 199 | "foreach t $txt { lappend tmp [string trim $t] }\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 200 | "set $var $tmp\n"
> | ~~~~~~~~~~~~~~~~~
> 201 | "destroy $id\n"
> | ~~~~~~~~~~~~~~~
> 202 | "}\n")
> | ~~~~~~
> 203 | );
> | ~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:204:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 204 | sys_vgui(const_cast<char *>(
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> 205 | "proc flext_textzoom {id var title attr edit} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 206 | "global $var\n"
> | ~~~~~~~~~~~~~~~
> 207 | "toplevel $id.w\n"
> | ~~~~~~~~~~~~~~~~~~
> 208 | "wm title $id.w [concat $title \" @\" $attr]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 209 | // "wm iconname $w \"text\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 210 | // "positionWindow $id.w\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 211 |
> |
> 212 | "frame $id.w.buttons\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~
> 213 | "pack $id.w.buttons -side bottom -fill x -pady 2m\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 214 |
> |
> 215 | "text $id.w.text -relief sunken -bd 2 -yscrollcommand \"$id.w.scroll set\" -setgrid 1 -width 80 -height 20\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 216 | "scrollbar $id.w.scroll -command \"$id.w.text yview\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 217 | "pack $id.w.scroll -side right -fill y\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 218 | "pack $id.w.text -expand yes -fill both\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 219 |
> |
> 220 | // insert text with newlines
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 221 | "set txt [split [expr $$var] ,]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 222 | "set lines [llength $txt]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 223 | "for {set ix 0} {$ix < ($lines-1)} {incr ix} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 224 | "$id.w.text insert end [string trim [lindex $txt $ix] ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 225 | "$id.w.text insert end \" ,\\n\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 226 | "}\n"
> | ~~~~~
> 227 | "$id.w.text insert end [string trim [lindex $txt end] ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 228 |
> |
> 229 | "$id.w.text mark set insert 0.0\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 230 |
> |
> 231 | "if { $edit != 0 } then {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 232 | "button $id.w.buttons.ok -text OK -command \"flext_textcopy $id.w $id.w.text $var\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 233 | "pack $id.w.buttons.ok -side left -expand 1\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 234 | // "bind $id.w {<Shift-KeyPress-Return>} \"flext_textcopy $id.w $id.w.text $var\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 235 | "} "
> | ~~~~
> 236 | "else { $id.w.text configure -state disabled }\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 237 |
> |
> 238 | "button $id.w.buttons.cancel -text Cancel -command \"destroy $id.w\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 239 | "pack $id.w.buttons.cancel -side left -expand 1\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 240 | "bind $id.w {<KeyPress-Escape>} \"destroy $id.w\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 241 | "}\n")
> | ~~~~~~
> 242 | );
> | ~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:243:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 243 | sys_vgui(const_cast<char *>(
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> 244 | "proc pdtk_flext_dialog {id title attrlist} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 245 | "set vid [string trimleft $id .]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 246 | "set alen [expr [llength $attrlist] / 6 ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 247 |
> |
> 248 | "toplevel $id\n"
> | ~~~~~~~~~~~~~~~~
> 249 | "wm title $id $title\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~
> 250 | "wm protocol $id WM_DELETE_WINDOW [concat flext_cancel $id]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 251 |
> |
> 252 | "frame $id.frame\n"
> | ~~~~~~~~~~~~~~~~~~~
> 253 | "set row 0\n"
> | ~~~~~~~~~~~~~
> 254 |
> |
> 255 | // set grow parameters
> | ~~~~~~~~~~~~~~~~~~~~~~
> 256 | "grid columnconfigure $id.frame 0 -weight 1\n" // label
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 257 | "grid columnconfigure $id.frame {1 4} -weight 3\n" // value entry
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 258 | "grid columnconfigure $id.frame {2 3} -weight 0\n" // copy buttons
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 259 | "grid columnconfigure $id.frame 5 -weight 1\n" // apply button
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 260 | "grid columnconfigure $id.frame {6 7 8} -weight 0\n" // radio buttons
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 261 |
> |
> 262 | "grid rowconfigure $id.frame {0 1} -weight 0\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 263 |
> |
> 264 | // set column labels
> | ~~~~~~~~~~~~~~~~~~~~
> 265 | "label $id.frame.label -text {attribute} -font {Helvetica 9 bold}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 266 | "label $id.frame.init -text {initial value} -font {Helvetica 9 bold}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 267 | "label $id.frame.copy -text {copy} -font {Helvetica 9 bold}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 268 | "label $id.frame.val -text {current value} -font {Helvetica 9 bold}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 269 | "label $id.frame.apply -text {} -font {Helvetica 9 bold}\n" // why must this be empty?
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 270 | "foreach {i txt} {0 {don't\rsave} 1 {do\rinit} 2 {always\rsave} } {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 271 | "label $id.frame.b$i -text $txt -font {Helvetica 7 bold}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 272 | "}\n"
> | ~~~~~
> 273 |
> |
> 274 | "grid config $id.frame.label -column 0 -row $row \n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 275 | "grid config $id.frame.init -column 1 -row $row \n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 276 | "grid config $id.frame.copy -column 2 -columnspan 2 -row $row \n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 277 | "grid config $id.frame.val -column 4 -row $row \n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 278 | "grid config $id.frame.apply -column 5 -row $row \n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 279 | "foreach i {0 1 2} { grid config $id.frame.b$i -column [expr $i + 6] -row $row }\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 280 | "incr row\n"
> | ~~~~~~~~~~~~
> 281 |
> |
> 282 | // Separator
> | ~~~~~~~~~~~~
> 283 | "frame $id.frame.sep -relief ridge -bd 1 -height 2\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 284 | "grid config $id.frame.sep -column 0 -columnspan 9 -row $row -pady 2 -sticky {snew}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 285 | "incr row\n")
> | ~~~~~~~~~~~~~
> 286 | );
> | ~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:287:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 287 | sys_vgui(const_cast<char *>(
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> 288 | "set ix 1\n"
> | ~~~~~~~~~~~~
> 289 | "foreach {an av ai atp asv afl} $attrlist {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 290 | "grid rowconfigure $id.frame $row -weight 1\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 291 |
> |
> 292 | // get attribute name
> | ~~~~~~~~~~~~~~~~~~~~~
> 293 | "set var_attr_name [concat [concat var_name_$ix]_$vid ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 294 | "global $var_attr_name\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~
> 295 | "set $var_attr_name $an\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~
> 296 |
> |
> 297 | // get attribute init value (list)
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 298 | "set var_attr_init [concat [concat var_init_$ix]_$vid ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 299 | "global $var_attr_init\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~
> 300 | "set $var_attr_init $ai\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~
> 301 |
> |
> 302 | // get attribute value (list)
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 303 | "set var_attr_val [concat [concat var_val_$ix]_$vid ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 304 | "global $var_attr_val\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~
> 305 | "set $var_attr_val $av\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~
> 306 |
> |
> 307 | // get save flag
> | ~~~~~~~~~~~~~~~~
> 308 | "set var_attr_save [concat [concat var_save_$ix]_$vid ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 309 | "global $var_attr_save\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~
> 310 | "set $var_attr_save $asv\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 311 |
> |
> 312 | // get type flag
> | ~~~~~~~~~~~~~~~~
> 313 | "set var_attr_type [concat [concat var_type_$ix]_$vid ]\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 314 | "global $var_attr_type\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~
> 315 | "set $var_attr_type $afl\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 316 |
> |
> 317 | // add dialog elements to window
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 318 |
> |
> 319 | // attribute label
> | ~~~~~~~~~~~~~~~~~~
> 320 | "label $id.frame.label-$ix -text \"$an :\" -font {Helvetica 8 bold}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 321 | "grid config $id.frame.label-$ix -column 0 -row $row -padx 5 -sticky {e}\n")
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 322 | );
> | ~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:323:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 323 | sys_vgui(const_cast<char *>(
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> 324 | "if { $afl != 0 } {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~
> 325 | // attribute is puttable
> | ~~~~~~~~~~~~~~~~~~~~~~~~
> 326 |
> |
> 327 | // entry field for initial value
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 328 | // entry field for current value
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 329 |
> |
> 330 | // choose entry field type
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~
> 331 | "switch $atp {\n"
> | ~~~~~~~~~~~~~~~~~
> 332 | "0 - 1 {\n" // int or float
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 333 | "entry $id.frame.init-$ix -textvariable $var_attr_init" ST_DISABLED "\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 334 | "entry $id.frame.val-$ix -textvariable $var_attr_val\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 335 | "}\n"
> | ~~~~~
> 336 | "2 {\n" // boolean
> | ~~~~~~~~~~~~~~~~~~~
> 337 | "checkbutton $id.frame.init-$ix -variable $var_attr_init" ST_DISABLED "\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 338 | "checkbutton $id.frame.val-$ix -variable $var_attr_val\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 339 | "}\n"
> | ~~~~~
> 340 | "3 {\n" // symbol
> | ~~~~~~~~~~~~~~~~~~
> 341 | "entry $id.frame.init-$ix -textvariable $var_attr_init" ST_DISABLED "\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 342 | "entry $id.frame.val-$ix -textvariable $var_attr_val\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 343 | "}\n"
> | ~~~~~
> 344 | "4 - 5 {\n" // list or unknown
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 345 | "entry $id.frame.init-$ix -textvariable $var_attr_init" ST_DISABLED "\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 346 | "bind $id.frame.init-$ix {<Control-Button-1>} \" flext_textzoom $id.frame.init-$ix $var_attr_init { $title } $an 1\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 347 | "entry $id.frame.val-$ix -textvariable $var_attr_val\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 348 | "bind $id.frame.val-$ix {<Control-Button-1>} \" flext_textzoom $id.frame.val-$ix $var_attr_val { $title } $an 1\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 349 | "}\n"
> | ~~~~~
> 350 | "}\n"
> | ~~~~~
> 351 |
> |
> 352 | "grid config $id.frame.init-$ix -column 1 -row $row -padx 5 -sticky {ew}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 353 | "grid config $id.frame.val-$ix -column 4 -row $row -padx 5 -sticky {ew}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 354 |
> |
> 355 | // copy buttons
> | ~~~~~~~~~~~~~~~
> 356 | "button $id.frame.b2i-$ix -text {<-} -height 1 -command \" flext_copyval $var_attr_init $var_attr_val \"" ST_DISABLED "\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 357 | "grid config $id.frame.b2i-$ix -column 2 -row $row -sticky {ew}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 358 | "button $id.frame.b2c-$ix -text {->} -height 1 -command \" flext_copyval $var_attr_val $var_attr_init \"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 359 | "grid config $id.frame.b2c-$ix -column 3 -row $row -sticky {ew}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 360 |
> |
> 361 | // apply button
> | ~~~~~~~~~~~~~~~
> 362 | "button $id.frame.apply-$ix -text {Apply} -height 1 -command \" flext_apply $id $ix \"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 363 | "grid config $id.frame.apply-$ix -column 5 -row $row -sticky {ew}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 364 |
> |
> 365 | // radiobuttons
> | ~~~~~~~~~~~~~~~
> 366 | "foreach {i c} {0 black 1 blue 2 red} {\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 367 | "radiobutton $id.frame.b$i-$ix -value $i -foreground $c -variable $var_attr_save" ST_DISABLED "\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 368 | "grid config $id.frame.b$i-$ix -column [expr $i + 6] -row $row\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 369 | "}\n")
> | ~~~~~~
> 370 | );
> | ~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:371:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 371 | sys_vgui(const_cast<char *>(
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> 372 | "} else {\n"
> | ~~~~~~~~~~~~
> 373 | // attribute is gettable only
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 374 |
> |
> 375 | // entry field for current value (read-only)
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 376 |
> |
> 377 | // choose display field type
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 378 | "switch $atp {\n"
> | ~~~~~~~~~~~~~~~~~
> 379 | "0 - 1 {\n" // int or float
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 380 | "entry $id.frame.val-$ix -textvariable $var_attr_val -state disabled\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 381 | "}\n"
> | ~~~~~
> 382 | "2 {\n" // boolean
> | ~~~~~~~~~~~~~~~~~~~
> 383 | "checkbutton $id.frame.val-$ix -variable $var_attr_val -state disabled\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 384 | "}\n"
> | ~~~~~
> 385 | "3 {\n" // symbol
> | ~~~~~~~~~~~~~~~~~~
> 386 | "entry $id.frame.val-$ix -textvariable $var_attr_val -state disabled\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 387 | "}\n"
> | ~~~~~
> 388 | "4 - 5 {\n" // list or unknown
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 389 | "entry $id.frame.val-$ix -textvariable $var_attr_val -state disabled\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 390 | "bind $id.frame.val-$ix {<Control-Button-1>} \" flext_textzoom $id.frame.val-$ix $var_attr_val { $title } $an 0\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 391 | "}\n"
> | ~~~~~
> 392 | "}\n"
> | ~~~~~
> 393 |
> |
> 394 | // "entry $id.fval.val-$ix -textvariable $var_attr_val -state disabled\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 395 | "grid config $id.frame.val-$ix -column 4 -row $row -padx 5 -sticky {ew}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 396 |
> |
> 397 | "label $id.frame.readonly-$ix -text \"read-only\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 398 | "grid config $id.frame.readonly-$ix -column 6 -columnspan 3 -row $row -padx 5 -sticky {ew}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 399 | "}\n"
> | ~~~~~
> 400 |
> |
> 401 | // increase counter
> | ~~~~~~~~~~~~~~~~~~~
> 402 | "incr ix\n"
> | ~~~~~~~~~~~
> 403 | "incr row\n"
> | ~~~~~~~~~~~~
> 404 | "}\n"
> | ~~~~~
> 405 |
> |
> 406 | // empty space
> | ~~~~~~~~~~~~~~
> 407 | "grid rowconfigure $id.frame $row -weight 1\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 408 | "frame $id.frame.dummy\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~
> 409 | "grid config $id.frame.dummy -column 0 -columnspan 9 -row $row\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 410 | "incr row\n")
> | ~~~~~~~~~~~~~
> 411 | );
> | ~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:412:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 412 | sys_vgui(const_cast<char *>(
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> 413 | // Separator
> | ~~~~~~~~~~~~
> 414 | "frame $id.sep2 -relief ridge -bd 1 -height 2\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 415 |
> |
> 416 | // Buttons
> | ~~~~~~~~~~
> 417 | "frame $id.buttonframe\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~
> 418 |
> |
> 419 | "button $id.buttonframe.cancel -text {Leave} -width 20 -command \" flext_cancel $id \"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 420 | "button $id.buttonframe.apply -text {Apply all} -width 20 -command \" flext_applyall $id $alen \"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 421 | "button $id.buttonframe.ok -text {Apply & Leave} -width 20 -command \" flext_ok $id $alen \"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 422 | "button $id.buttonframe.help -text {Help} -width 10 -command \" flext_help $id \"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 423 |
> |
> 424 | "grid columnconfigure $id.buttonframe {0 1 2 3} -weight 1\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 425 | "grid config $id.buttonframe.cancel $id.buttonframe.apply $id.buttonframe.ok $id.buttonframe.help -padx 2 -sticky {snew}\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 426 |
> |
> 427 | // "scrollbar $id.scroll -command \"$id.frame yview\"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 428 |
> |
> 429 | "pack $id.buttonframe $id.sep2 -pady 2 -expand 0 -side bottom -fill x\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 430 | // "pack $id.scroll -side right -fill y\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 431 | "pack $id.frame -expand 1 -side top -fill both\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 432 |
> |
> 433 | // Key bindings
> | ~~~~~~~~~~~~~~~
> 434 | "bind $id {<KeyPress-Escape>} \" flext_cancel $id \"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 435 | "bind $id {<KeyPress-Return>} \" flext_ok $id $alen \"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 436 | "bind $id {<Shift-KeyPress-Return>} \" flext_applyall $id $alen \"\n"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 437 | "}\n")
> | ~~~~~~
> 438 | );
> | ~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp: In static member function ‘static void flext_base_single::cb_GfxProperties(flext_hdr*, _glist*)’:
> ../../../../source/flattr_ed.cpp:534:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 534 | sys_vgui(const_cast<char *>("proc pdtk_flext_dialog_%p {title} {\n"),th);
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:536:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 536 | sys_vgui(const_cast<char *>("pdtk_flext_dialog $title {\n"));
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:546:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 546 | sys_vgui(const_cast<char *>("%s } {\n"),buf);
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:596:17: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 596 | sys_vgui(const_cast<char *>(list?"%s {":"%s "),GetString(sym));
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:610:21: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 610 | sys_vgui(const_cast<char *>("%s"),buf);
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:613:21: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 613 | sys_vgui(const_cast<char *>("{}"));
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:615:17: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 615 | sys_vgui(const_cast<char *>(list?"} {":" "));
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:628:21: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 628 | sys_vgui(const_cast<char *>("%s"),buf);
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:631:21: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 631 | sys_vgui(const_cast<char *>("{}"));
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:634:17: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 634 | sys_vgui(const_cast<char *>(list?"} %i %i %i \n":" %i %i %i \n"),tp,sv,pattr?(pattr->BothExist()?2:1):0);
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:637:13: warning: ‘void sys_vgui(const char*, ...)’ is deprecated [-Wdeprecated-declarations]
> 637 | sys_vgui(const_cast<char *>(" } }\n")); // end of proc
> | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> ../../../../source/flattr_ed.cpp:640:16: warning: ‘void gfxstub_new(_class**, void*, const char*)’ is deprecated [-Wdeprecated-declarations]
> 640 | gfxstub_new((t_pd *)th->thisHdr(), th->thisHdr(),buf);
> | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:803:27: note: declared here
> 803 | PD_DEPRECATED EXTERN void gfxstub_new(t_pd *owner, void *key, const char *cmd); /* avoid this: use pdgui_stub_vnew() instead */
> | ^~~~~~~~~~~
> ../../../../source/flbuf.cpp: In member function ‘void flext_single::buffer::Frames(int, bool, bool)’:
> ../../../../source/flbuf.cpp:270:20: warning: ‘void garray_resize(_garray*, t_floatarg)’ is deprecated [-Wdeprecated-declarations]
> 270 | ::garray_resize(arr,(float)fr);
> | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> In file included from ../../../../source/flstdc.h:66,
> from ../../../../source/flbase.h:18,
> from ../../../../source/flclass.h:18,
> from ../../../../source/flext.h:60,
> from ../../../../source/flbuf.cpp:16:
> /usr/include/pd/m_pd.h:780:27: note: declared here
> 780 | PD_DEPRECATED EXTERN void garray_resize(t_garray *x, t_floatarg f); /* use garray_resize_long() */
> | ^~~~~~~~~~~~~
> ../../../../source/flext.cpp: In member function ‘virtual void flext_base_single::Exit()’:
> ../../../../source/flext.cpp:97:25: warning: ‘void gfxstub_deleteforkey(void*)’ is deprecated [-Wdeprecated-declarations]
> 97 | gfxstub_deleteforkey(thisHdr());
> | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
> In file included from ../../../../source/flstdc.h:66,
> from ../../../../source/flbase.h:18,
> from ../../../../source/flclass.h:18,
> from ../../../../source/flext.h:60,
> from ../../../../source/flext.cpp:16:
> /usr/include/pd/m_pd.h:804:27: note: declared here
> 804 | PD_DEPRECATED EXTERN void gfxstub_deleteforkey(void *key); /* avoid this: use pdgui_stub_deleteforkey() instead */
> | ^~~~~~~~~~~~~~~~~~~~
> ../../../../source/flext.cpp: In static member function ‘static void flext_base_single::AddMessageMethods(_class*, bool, bool)’:
> /usr/include/pd/m_pd.h:575:52: error: static assertion failed: field must be t_float!
> 575 | PD_STATIC_ASSERT(sizeof(((type *)NULL)->field) == sizeof(t_float), "field must be t_float!"); \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
> ../../../../source/flext.cpp:170:13: note: in expansion of macro ‘CLASS_MAINSIGNALIN’
> 170 | CLASS_MAINSIGNALIN(c,flext_hdr,defsig); // float messages going into the left inlet are converted to signal
> | ^~~~~~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:575:52: note: the comparison reduces to ‘(4 == 8)’
> 575 | PD_STATIC_ASSERT(sizeof(((type *)NULL)->field) == sizeof(t_float), "field must be t_float!"); \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
> ../../../../source/flext.cpp:170:13: note: in expansion of macro ‘CLASS_MAINSIGNALIN’
> 170 | CLASS_MAINSIGNALIN(c,flext_hdr,defsig); // float messages going into the left inlet are converted to signal
> | ^~~~~~~~~~~~~~~~~~
> make[3]: *** [Makefile:1473: libflext_pd64_s_la-flext.lo] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/pd-flext_0.6.3-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Reply to: