Merge lp:~codygarver/slingshot/silence-c-warnings into lp:~elementary-pantheon/slingshot/trunk

Proposed by Cody Garver
Status: Merged
Approved by: David Gomes
Approved revision: 389
Merged at revision: 389
Proposed branch: lp:~codygarver/slingshot/silence-c-warnings
Merge into: lp:~elementary-pantheon/slingshot/trunk
Diff against target: 13 lines (+3/-0)
1 file modified
CMakeLists.txt (+3/-0)
To merge this branch: bzr merge lp:~codygarver/slingshot/silence-c-warnings
Reviewer Review Type Date Requested Status
David Gomes (community) Approve
Review via email: mp+189530@code.launchpad.net

Commit message

Silence C compilation warnings.

Description of the change

Silence C compilation warnings.

To post a comment you must log in.
Revision history for this message
David Gomes (davidgomes) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2013-09-22 03:16:01 +0000
3+++ CMakeLists.txt 2013-10-07 07:04:04 +0000
4@@ -70,6 +70,9 @@
5 -g
6 )
7
8+# Comment this out to enable C compiler warnings
9+add_definitions (-w)
10+
11 add_definitions (${DEPS_CFLAGS} -DGMENU_I_KNOW_THIS_IS_UNSTABLE -DWNCK_I_KNOW_THIS_IS_UNSTABLE -include config.h)
12 link_libraries (${DEPS_LIBRARIES})
13 link_directories (${DEPS_LIBRARY_DIRS})

Subscribers

People subscribed via source and target branches