> OK, here's what I'm committing: the same idiom as we use for
> wint_t. [...]
Thanks!
Werner
Paul Eggert wrote:
> Bruno Haible wrote:
> > +} _gl_max_align_t;
> > +#define max_align_t _gl_max_align_t
> > #endif
> >
> > # endif /* _@GUARD_PREFIX@_STDDEF_H */
> >
> >
> > This one is not brittle and is not a big change. If Paul agrees, I would
> > commit
> > this, and you (Werner) w
>> +} _gl_max_align_t;
>> +#define max_align_t _gl_max_align_t
>> #endif
>> # endif /* _@GUARD_PREFIX@_STDDEF_H */
>> This one is not brittle and is not a big change. If Paul agrees, I
>> would commit this, and you (Werner) would not need to reorganize
>> your package's configuration.
>
>
Bruno Haible wrote:
+} _gl_max_align_t;
+#define max_align_t _gl_max_align_t
#endif
# endif /* _@GUARD_PREFIX@_STDDEF_H */
This one is not brittle and is not a big change. If Paul agrees, I would commit
this, and you (Werner) would not need to reorganize your package's
configuration.
Werner, Paul,
I wrote:
> The other approaches are brittle: If we/you change something regarding
> the max_align_t problem, you will continue to see issues
> - on other platforms,
> - when you request additional gnulib modules,
> - when the C standard features change,
> - when the C++ stand
Hello Werner,
> Is there an example package with automake and gnulib that uses both C
> and C++ similar to ttfautohint, and that I could use as a template?
I don't know of such an example package.
Basically, the steps are to
1) Create a lib/configure.ac that contains everything relevant to the
>> > Could you try incorporating the std-gnu11 module into your
>> > package, and see whether that fixes things? If so, perhaps we
>> > could fix this problem for everybody by having stddef depend on
>> > std-gnu11.
>>
>> This approach worked
>
> Nevertheless, I don't agree that this is the solu
Werner LEMBERG wrote:
> > Could you try incorporating the std-gnu11 module into your package,
> > and see whether that fixes things? If so, perhaps we could fix this
> > problem for everybody by having stddef depend on std-gnu11.
>
> This approach worked
Nevertheless, I don't agree that this is
> Could you try incorporating the std-gnu11 module into your package,
> and see whether that fixes things? If so, perhaps we could fix this
> problem for everybody by having stddef depend on std-gnu11.
This approach worked, cf.
https://travis-ci.org/source-foundry/ttfautohint-build/builds/271
Full gnulib stddef.h header file requested by Werner available here:
https://gist.github.com/chrissimpkins/6e76999d84ca6ff36cf8f7ef047997f4
max_align_t definition from `cat
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.1.0/include/stddef.h`
on Tr
Werner LEMBERG wrote:
> Shall I simply add
>
> AC_LANG_PUSH([C++])
>
> right before the call to
>
> gl_INIT
>
> in my `configure.ac' file?
It's worth a try, yes. If it creates other problems, we can look into these.
Bruno
Werner LEMBERG wrote:
Shall I
simply add
AC_LANG_PUSH([C++])
right before the call to
gl_INIT
in my `configure.ac' file?
Sorry, I don't use C++, so I'm not a good source of advice for it. That being
said, Libc-1158.50.2/include/stddef.h defines max_align_t if (__STDC_VERSION__
>= 20
>> configure:17517: gcc -c
>> -I/Users/travis/ttfautohint-build/local/include -g -O2 conftest.c >&5
>> conftest.c:145:13: error: use of undeclared identifier 'max_align_t'
>
> Evidently the stddef.h found by the above command does not define
> max_align_t, whereas the stddef.h found by the comman
Werner LEMBERG wrote:
configure:17517: gcc -c -I/Users/travis/ttfautohint-build/local/include -g -O2
conftest.c >&5
conftest.c:145:13: error: use of undeclared identifier 'max_align_t'
Evidently the stddef.h found by the above command does not define max_align_t,
whereas the stddef.h found b
>>checking for max_align_t... no
>
> Why did this say "no" even though stddef.h evidently defines
> max_align_t? Please look for details in config.log.
Below. For reference you can also find the complete `config.log' file
attached.
Werner
=
Werner LEMBERG wrote:
checking for max_align_t... no
Why did this say "no" even though stddef.h evidently defines max_align_t? Please
look for details in config.log.
Building ttfautohint (http://repo.or.cz/ttfautohint.git/) on OS X
10.10 (XCode 6.4) fails. The data below is taken from a travis build
(https://travis-ci.org/source-foundry/ttfautohint-build/jobs/269031319#L3401).
Here's the list of the gnulib modules I use in ttfautohint:
dirname
fcntl-h
17 matches
Mail list logo