Fix build errors and linker warnings on OS X
ClosedPublic

Authored by qi437103 on Jun 28 2016, 6:38 PM.

Details

Summary

Fix compile errors and linker warnings in the debuggers subdirectory when build on OS X.

  • Use #include <signal.h> rather than #include "sys/sys/signal.h"
  • Fix visibility argument settings on kdevdebuggercommon to avoid linker warnings

Detailed discuss can be found on mailing list 1 2

Test Plan

it now builds without any errors or linker warnings, tested by René

Diff Detail

Repository
R32 KDevelop
Branch
fix-build-on-osx
Lint
No Linters Available
Unit
No Unit Test Coverage
qi437103 updated this revision to Diff 4817.Jun 28 2016, 6:38 PM
qi437103 retitled this revision from to Fix build errors and linker warnings on OS X.
qi437103 updated this object.
qi437103 edited the test plan for this revision. (Show Details)
qi437103 added a reviewer: apol.
qi437103 added a subscriber: rjvbb.
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJun 28 2016, 6:38 PM
rjvbb accepted this revision.Jun 28 2016, 7:37 PM
rjvbb added a reviewer: rjvbb.

LGTM.

The comment in the CMake file is very complete; the 1st three lines seem sufficient to me (if the commit message will contain a reference to this RR).

This revision is now accepted and ready to land.Jun 28 2016, 7:37 PM
This revision was automatically updated to reflect the committed changes.