efl/src/lib/ephysics
Vitor Sousa b1e44484a5 cxx: remove compilation warnings in C++ code, from both gcc and clang
Summary:
Remove almost all the compilation warnings from C++ code. Only explicit
warnings using the `#warning` preprocessor directive remain.

Some warnings had to be suppressed with `#pragma` directives because the
behavior they were warning about is intended in some specific places.
Code comments were added in such situations.

Added a generator that creates `#pragma` directives in order to suppress
warnings in all generated C++ headers.
Currently `-Wignored-qualifiers` is the only warning category being suppressed.
The innocuous const qualifiers that it points are inoffensive and have
no effect in compilation at all.
They are also hard to track in generation since they can emerge from different
types in many places.

To ease the generation of the warning suppressors an utility constructor was
added to `efl::eolian::grammar::attributes::unused_type`.

Add constructors to `eolian_mono::class_context` to default initialize its
internal string and avoid field initialization warnings.

Test Plan: `meson test`

Reviewers: lauromoura, felipealmeida, zmike, segfaultxavi

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl_language_bindings

Differential Revision: https://phab.enlightenment.org/D9275
2019-07-12 09:07:27 -04:00
..
EPhysics.h docs: Fix common misspellings in H files 2019-04-02 13:28:48 +02:00
ephysics_body.cpp
ephysics_body_materials.h
ephysics_camera.cpp
ephysics_constraints.cpp
ephysics_main.cpp
ephysics_private.h remove Evil.h when not necessary, include evil_private.h when necessary 2019-05-20 09:10:00 -04:00
ephysics_quaternion.cpp cxx: remove compilation warnings in C++ code, from both gcc and clang 2019-07-12 09:07:27 -04:00
ephysics_shape.cpp
ephysics_trimesh.h
ephysics_world.cpp
meson.build here comes meson 2018-10-02 17:22:50 +02:00