Kayvan A. Sylvan wrote:
> g++ -DHAVE_CONFIG_H -I. -I../../../lyx/src/support -I../../src
> -I../../../lyx/src/support/../ -I../../../lyx/boost
> -I/u/ksylvan/include -I/usr/openwin/include -O2 -fno-exceptions -W
> -Wall -MT globbing.lo -MD -MP -MF .deps/globbing.Tpo -c
> ../../../lyx/src/support/globbing.C
> ../../../lyx/src/support/globbing.C: In function `const
>    std::vector<std::string, std::allocator<std::string> >
>    lyx::support::glob(const std::string&, int)':
> ../../../lyx/src/support/globbing.C:70: excess elements in aggregate
>    initializer

Thanks, Kayvan.
Could you replace
        glob_t glob_buffer = {0, 0, 0, 0, 0, 0, 0, 0, 0};
with
        static glob_t const zero;
        glob_t glob_buffer = zero;

Regards,
-- 
Angus

Reply via email to