increase compilation warning level to -Wall

and remove unused CXXFLAGS

Signed-off-by: Loic Dachary <loic@dachary.org>
remove unused variables

In some places move variables in the scope of the CPP define where they
are used.

Signed-off-by: Loic Dachary <loic@dachary.org>
cast void* to char* for pointer arithmetic

Signed-off-by: Loic Dachary <loic@dachary.org>
initialize pointer early in the function

otherwise it may be used uninitialized

Signed-off-by: Loic Dachary <loic@dachary.org>
move #if to avoid unused warning

Signed-off-by: Loic Dachary <loic@dachary.org>
remove duplicate headers from src

Signed-off-by: Loic Dachary <loic@dachary.org>
silence some warnings for unset variables

By setting them when they are defined and when the compiler fails to see
the logic is ok.

Signed-off-by: Loic Dachary <loic@dachary.org>
do not use gf_internal_t when it is null

Signed-off-by: Loic Dachary <loic@dachary.org>
remove spurious i < in for loop

Signed-off-by: Loic Dachary <loic@dachary.org>
remove unused variables from #if SSE blocs

Signed-off-by: Loic Dachary <loic@dachary.org>
main() returns int

Signed-off-by: Loic Dachary <loic@dachary.org>
remove unused argument from SSE_AB2

Signed-off-by: Loic Dachary <loic@dachary.org>
remove unused static function gf_w128_group_r_sse_init

Signed-off-by: Loic Dachary <loic@dachary.org>
add sse field to gf_internal_t

When running on a processor different from the one used at compile time,
the sse field will contain the process capabilities evaluated at
runtime.

The sse bitfield is set at compile time as a first step and will be set
at runtime in another commit implementing something similar to what Ceph
does https://github.com/ceph/ceph/blob/firefly/src/arch/intel.c#L10

Signed-off-by: Loic Dachary <loic@dachary.org>
do not use SSE features when they are not available at runtime

Even if the compilation machine had all SSE features, it does not mean
the processor on which the code will run also has the same features. The
decision to run the code or not is deferred at runtime instead of
compile time, using the gf_internal_t::sse bit field.

Signed-off-by: Loic Dachary <loic@dachary.org>