Fix notorious warning

...especially nasty on full rebuild
This commit is contained in:
Fischlurch 2017-04-01 23:59:37 +02:00
parent 05aaa74422
commit 26651a0a86
7 changed files with 25 additions and 21 deletions

View file

@ -107,7 +107,7 @@ namespace gui {
)
, LUMIERA_INTERFACE_INLINE (versioncmp,
int, (const char* a, const char* b),
{return 0;} ////////////////////////////////////////////TODO define version ordering
{(void)a;(void)b; return 0;} ////////////////////////////////////////////TODO define version ordering
)
);

View file

@ -227,7 +227,7 @@ extern "C" { /* ================== define a lumieraorg_Gui instance ============
)
, LUMIERA_INTERFACE_INLINE (versioncmp,
int, (const char* a, const char* b),
{return 0;} ////////////////////////////////////////////TODO define version ordering
{(void)a;(void)b; return 0;} ////////////////////////////////////////////TODO define version ordering
)
);

View file

@ -164,7 +164,7 @@ namespace gui {
)
, LUMIERA_INTERFACE_INLINE (versioncmp,
int, (const char* a, const char* b),
{return 0;} ////////////////////////////////////////////TODO define version ordering
{(void)a;(void)b; return 0;} ////////////////////////////////////////////TODO define version ordering
)
);

View file

@ -150,7 +150,7 @@ namespace control {
)
, LUMIERA_INTERFACE_INLINE (versioncmp,
int, (const char* a, const char* b),
{return 0;} ////////////////////////////////////////////TODO define version ordering
{(void)a;(void)b; return 0;} ////////////////////////////////////////////TODO define version ordering
)
);

View file

@ -165,7 +165,7 @@ namespace proc {
)
, LUMIERA_INTERFACE_INLINE (versioncmp,
int, (const char* a, const char* b),
{return 0;} ////////////////////////////////////////////TODO define version ordering
{(void)a;(void)b; return 0;} ////////////////////////////////////////////TODO define version ordering
)
);

View file

@ -93,31 +93,32 @@ LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0,
testrelease,
LUMIERA_INTERFACE_INLINE (name,
const char*, (LumieraInterface iface),
{return "LumieraTest";}
{(void)iface; return "LumieraTest";}
),
LUMIERA_INTERFACE_INLINE (brief,
const char*, (LumieraInterface iface),
{return "Lumiera Test suite examples";}
{(void)iface; return "Lumiera Test suite examples";}
),
LUMIERA_INTERFACE_INLINE (homepage,
const char*, (LumieraInterface iface),
{return "http://www.lumiera.org/develompent.html";}
{(void)iface; return "http://www.lumiera.org/develompent.html";}
),
LUMIERA_INTERFACE_INLINE (version,
const char*, (LumieraInterface iface),
{return "No Version";}
{(void)iface; return "No Version";}
),
LUMIERA_INTERFACE_INLINE (author,
const char*, (LumieraInterface iface),
{return "Christian Thaeter";}
{(void)iface; return "Christian Thaeter";}
),
LUMIERA_INTERFACE_INLINE (email,
const char*, (LumieraInterface iface),
{return "ct@pipapo.org";}
{(void)iface; return "ct@pipapo.org";}
),
LUMIERA_INTERFACE_INLINE (copyright,
const char*, (LumieraInterface iface),
{
(void)iface;
return
"Copyright (C) Lumiera.org\n"
" 2008 Christian Thaeter <ct@pipapo.org>";
@ -126,6 +127,7 @@ LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0,
LUMIERA_INTERFACE_INLINE (license,
const char*, (LumieraInterface iface),
{
(void)iface;
return
"This program is free software; you can redistribute it and/or modify\n"
"it under the terms of the GNU General Public License as published by\n"
@ -145,12 +147,12 @@ LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0,
LUMIERA_INTERFACE_INLINE (state,
int, (LumieraInterface iface),
{return LUMIERA_INTERFACE_EXPERIMENTAL;}
{(void)iface; return LUMIERA_INTERFACE_EXPERIMENTAL;}
),
LUMIERA_INTERFACE_INLINE (versioncmp,
int, (const char* a, const char* b),
{return 0;}
{(void)a;(void)b; return 0;}
)
);

View file

@ -109,31 +109,32 @@ LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0,
NULL, NULL, NULL,
LUMIERA_INTERFACE_INLINE (name,
const char*, (LumieraInterface iface),
{return "LumieraTest";}
{(void)iface; return "LumieraTest";}
),
LUMIERA_INTERFACE_INLINE (brief,
const char*, (LumieraInterface iface),
{return "Lumiera Test suite examples";}
{(void)iface; return "Lumiera Test suite examples";}
),
LUMIERA_INTERFACE_INLINE (homepage,
const char*, (LumieraInterface iface),
{return "http://www.lumiera.org/develompent.html";}
{(void)iface; return "http://www.lumiera.org/develompent.html";}
),
LUMIERA_INTERFACE_INLINE (version,
const char*, (LumieraInterface iface),
{return "No Version";}
{(void)iface; return "No Version";}
),
LUMIERA_INTERFACE_INLINE (author,
const char*, (LumieraInterface iface),
{return "Christian Thaeter";}
{(void)iface; return "Christian Thaeter";}
),
LUMIERA_INTERFACE_INLINE (email,
const char*, (LumieraInterface iface),
{return "ct@pipapo.org";}
{(void)iface; return "ct@pipapo.org";}
),
LUMIERA_INTERFACE_INLINE (copyright,
const char*, (LumieraInterface iface),
{
(void)iface;
return
"Copyright (C) Lumiera.org\n"
" 2008 Christian Thaeter <ct@pipapo.org>";
@ -142,6 +143,7 @@ LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0,
LUMIERA_INTERFACE_INLINE (license,
const char*, (LumieraInterface iface),
{
(void)iface;
return
"This program is free software; you can redistribute it and/or modify\n"
"it under the terms of the GNU General Public License as published by\n"
@ -161,12 +163,12 @@ LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0,
LUMIERA_INTERFACE_INLINE (state,
int, (LumieraInterface iface),
{return LUMIERA_INTERFACE_EXPERIMENTAL;}
{(void)iface; return LUMIERA_INTERFACE_EXPERIMENTAL;}
),
LUMIERA_INTERFACE_INLINE (versioncmp,
int, (const char* a, const char* b),
{return 0;}
{(void)a;(void)b; return 0;}
)
);