Merge lp:~hjd/widelands/nullptr into lp:widelands
Proposed by
Hans Joachim Desserud
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 6655 | ||||
Proposed branch: | lp:~hjd/widelands/nullptr | ||||
Merge into: | lp:widelands | ||||
Diff against target: |
25 lines (+11/-3) 1 file modified
CMakeLists.txt (+11/-3) |
||||
To merge this branch: | bzr merge lp:~hjd/widelands/nullptr | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
SirVer | Approve | ||
Review via email: mp+176063@code.launchpad.net |
Description of the change
I tested with adding -Dnullptr=NULL to the compilerflags which made it build again on 10.04.
The following change in cmake should add it for gcc versions older than 4.6. I'll be the first to admit this patch, isn't pretty but none of the alternatives seemed a lot better either.
Not done extensive testing with this, but seems to be set only when it should.
To post a comment you must log in.
Lgtm.