Thanks, I have fixed it now.
regards,
Anders Widell
On 03/31/2017 03:07 PM, Neelakanta Reddy wrote:
> Hi
>
> Failing in gcc 6.1(passed in gcc 4.9):
>
> CXX src/base/lib_libopensaf_core_la-hash.lo
> src/base/hash.cc:97:1: error:
> '{anonymous}::HashLibrary::~HashLibrary()' defined but not used
> [-Werror=unused-function]
> HashLibrary::~HashLibrary() {
> ^~~~~~~~~~~
> cc1plus: all warnings being treated as errors
> make[2]: *** [src/base/lib_libopensaf_core_la-hash.lo] Error 1
> make[2]: Leaving directory `/home/neel/testing/smf/staging_2342'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/neel/testing/smf/staging_2342'
> make: *** [all] Error 2
>
>
> When moved into the class definition, the error was not observed.
>
>
> Thanks,
> Neel.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel