Next: , Previous: , Up: The Macros  


ax_compiler_flags_gir

Synopsis

AX_COMPILER_FLAGS_GIR([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])

Description

Add warning flags for the g-ir-scanner (from GObject Introspection) to VARIABLE, which defaults to WARN_SCANNERFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be manually added to the SCANNERFLAGS variable for each GIR target in the code base.

This macro depends on the environment set up by AX_COMPILER_FLAGS. Specifically, it uses the value of $ax_enable_compile_warnings to decide which flags to enable.

Source Code

Download the latest version of ax_compiler_flags_gir.m4 or browse the macro’s revision history.

License

Copyright © 2015 Philip Withnall philip@tecnocode.co.uk

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.