Priority medium
Bug ID 79316
CC syncevolution-issues@syncevolution.org
Assignee syncevolution-issues@syncevolution.org
Summary ignoring return value of ‘int symlink(const char*, const char*)’
Severity normal
Classification Unclassified
OS Linux (All)
Reporter emiliano.heyns@iris-advies.com
Hardware x86 (IA32)
Status NEW
Version unspecified
Component SyncEvolution
Product SyncEvolution

When compiling SyncEvolution with the recommended developer configure settings,
I get the following error:

src/syncevo/Cmdline.cpp: In member function ‘void
SyncEvo::CmdlineTest::testPrintFileTemplatesConfig()’:
src/syncevo/Cmdline.cpp:3126:82: error: ignoring return value of ‘int
symlink(const char*, const char*)’, declared with attribute warn_unused_result
[-Werror=unused-result]
         symlink("../templates", (m_testDir +
"/syncevolution-templates").c_str());
                                                                               
  ^

(master branch, checkout from this morning, refreshed with git pull)


You are receiving this mail because: