# HG changeset patch # User pl # Date 1007548270 0 # Node ID af2a76fdba9c6021fcc14a0b7dbb86745999c01a # Parent f7ba4fb75b69702c54d2473f9f5b89c8414869a0 CVS is still broken with gcc3. This fixes it. But please explain _why_ the 'volatile' attribute is needed with these variables and why is it supposed to protect them ? diff -r f7ba4fb75b69 -r af2a76fdba9c libao2/audio_plugin.h --- a/libao2/audio_plugin.h Wed Dec 05 08:58:09 2001 +0000 +++ b/libao2/audio_plugin.h Wed Dec 05 10:31:10 2001 +0000 @@ -26,7 +26,7 @@ float delay_fix; /* Fix delay */ }ao_plugin_data_t; -extern ao_plugin_data_t ao_plugin_data; +extern volatile ao_plugin_data_t ao_plugin_data; // Plugin confuguration data set by cmd-line parameters typedef struct ao_plugin_cfg_s @@ -36,7 +36,7 @@ int pl_delay_len; // Number of samples to delay sound output } ao_plugin_cfg_t; -extern ao_plugin_cfg_t ao_plugin_cfg; +extern volatile ao_plugin_cfg_t ao_plugin_cfg; // Configuration defaults #define CFG_DEFAULTS { \