Solution for "-Wunused-variable" in gcc
Solution for "-Wunused-variable" in gcc

Hi,
I have a simple solution for  bogus warnings "-Wunused-variable for Singletons" in gcc. It will not silent all "-Wunused-variable" warnings but only for singletons that has been initialized in qpp.h file. I am attaching my version of qpp.h file. Hope that you will find it useful. 

P.S. similar trick can be used for lambda functions too.
QCT-IQC/qpp,vsoftco/qpp,vsoftco/qpp,vsoftco/qpp,vsoftco/qpp,QCT-IQC/qpp,QCT-IQC/qpp,QCT-IQC/qpp