Hi,
On Tue, 20 Aug 2019, René Scharfe wrote:
> Define enum parse_opt_result before using it in a typedef. This avoids
> the following compiler warning:
>
>./parse-options.h:53:14: error: ISO C forbids forward references to 'enum'
> types [-Werror,-Wpedantic]
>typedef enum parse_opt_resu
Define enum parse_opt_result before using it in a typedef. This avoids
the following compiler warning:
./parse-options.h:53:14: error: ISO C forbids forward references to 'enum'
types [-Werror,-Wpedantic]
typedef enum parse_opt_result parse_opt_ll_cb(struct parse_opt_ctx_t *ctx,
2 matches
Mail list logo