This arose from the conversion from optional parameters to required parameters.
The same problem was found in Screenshot command and in open/save command.
updated French translation (works on fuzzies, new translation strings done, several improvements on some already translated strings) and updated timestamp
Bug 2013 - Extended ASCII characters in Nyquist plug-ins freeze Audacity
We previously assumed that plug-ins would always be valid UTF8, but
if it isn't then the conversion to wxTextInputStream fails, causing
pgm.ReadLine() to perpetually return a zero length line.
... to use, first rerun /mac/scripts/build_wxwidgets .
Then XCode can build one of four configurations: Debug and Release (as
before), and now also Debug64 and Release64.
Some workaround was needed to link the 64 bit builds of the Audacity
application. (No problem with the modules.) This involved the Objective-C
usage in FileDialog.mm, only. Consequences of this partial disabling of that
functionality need to be explored.
... The null, script-pipe, and Nyquist workbench modules all build fully.
Just two missing symbols building Audacity, I don't yet know why:
ld: warning: directory not found for option '-L/Users/paullicameli/GitHub/audacity/mac/build/Release'
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks//QuickTime.framework/QuickTime, file was built for i386 which is not the architecture being linked (x86_64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks//QuickTime.framework/QuickTime
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_ModalDialogDelegate", referenced from:
objc-class-ref in FileDialogPrivate.o
"_objc_readClassPair", referenced from:
__ARCLite__load() in libarclite_macosx.a(arclite.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
... to include architecture, so the 64 bit build doesn't destroy the 32, thus
the results are found in:
/usr/local/i386/lib
/usr/local/x86_64/lib
whereas before all was in /usr/local/lib.
Change the XCode project too, to look for includes and libraries in the new
places.
... I checked, and there are no other missed inclusions of Experimental.h
before tests of EXPERIMENTAL_* macros, except the special handling of version
numbers in Audacity.h.
... This quiets warnings from:
lib-src/FileDialog/mac/FileDialogPrivate.mm
lib-src/portaudio-v19/src/hostapi/coreaudio/pa_mac_core.c
lib-src/portaudio-v19/src/hostapi/coreaudio/pa_mac_core_utilities.c
lib-src/portmixer/src/px_mac_coreaudio.c
It's not good to ignore these deprecations forever, but this reduces the noise
from a complete rebuild, making other warnings more conspicious by their
fewness.
... all of them harmless and inconsequential at runtime, but see commit
comments about the error checks in libnyquist that were revealed by the
compiler warnings as never doing anything useful.
... there is a difference in the type, not the value, of the constant defined
by the two versions of the macro. See clock_types.h in the Mac SDK:
define NSEC_PER_MSEC 1000000ull /* nanoseconds per millisecond */