Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #11096] Windows build fails on InterlockedIncrement type #3900

Closed
icinga-migration opened this issue Feb 4, 2016 · 5 comments
Closed

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Feb 4, 2016

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11096

Created by mfriedrich on 2016-02-04 22:07:48 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2016-02-05 10:00:05 +00:00)
Target Version: 2.4.2
Last Update: 2016-02-23 09:58:48 +00:00 (in Redmine)

Icinga Version: 2.4.1
Backport?: Already backported
Include in Changelog: 0

Happens since commit b1aa6cc ("Decrease memory usage for the Object class").

C:\jenkins\workspace\icinga2-windows\lib\base/object.hpp(148): error C2665: '_InterlockedIncrement' : none of the 4 overloads could convert all the argument types [C:\jenkins\workspace\icinga2-windows\build\lib\base\base.vcxproj]
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8844): could be 'unsigned __int64 _InterlockedIncrement(volatile unsigned __int64 *)'
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8833): or       'unsigned long _InterlockedIncrement(volatile unsigned long *)'
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8824): or       'unsigned int _InterlockedIncrement(volatile unsigned int *)'
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(5208): or       'LONG _InterlockedIncrement(volatile LONG *)'
          while trying to match the argument list '(intptr_t *)'
C:\jenkins\workspace\icinga2-windows\lib\base/object.hpp(158): error C2665: '_InterlockedDecrement' : none of the 4 overloads could convert all the argument types [C:\jenkins\workspace\icinga2-windows\build\lib\base\base.vcxproj]
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8875): could be 'unsigned __int64 _InterlockedDecrement(volatile unsigned __int64 *)'
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8864): or       'unsigned long _InterlockedDecrement(volatile unsigned long *)'
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8855): or       'unsigned int _InterlockedDecrement(volatile unsigned int *)'
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(5214): or       'LONG _InterlockedDecrement(volatile LONG *)'
          while trying to match the argument list '(intptr_t *)'
  base_unity.cpp
C:\jenkins\workspace\icinga2-windows\lib\base/object.hpp(148): error C2665: '_InterlockedIncrement' : none of the 4 overloads could convert all the argument types [C:\jenkins\workspace\icinga2-windows\build\lib\base\base.vcxproj]
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8844): could be 'unsigned __int64 _InterlockedIncrement(volatile unsigned __int64 *)'
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8833): or       'unsigned long _InterlockedIncrement(volatile unsigned long *)'
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8824): or       'unsigned int _InterlockedIncrement(volatile unsigned int *)'
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(5208): or       'LONG _InterlockedIncrement(volatile LONG *)'
          while trying to match the argument list '(intptr_t *)'
C:\jenkins\workspace\icinga2-windows\lib\base/object.hpp(158): error C2665: '_InterlockedDecrement' : none of the 4 overloads could convert all the argument types [C:\jenkins\workspace\icinga2-windows\build\lib\base\base.vcxproj]
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8875): could be 'unsigned __int64 _InterlockedDecrement(volatile unsigned __int64 *)'
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8864): or       'unsigned long _InterlockedDecrement(volatile unsigned long *)'
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winbase.h(8855): or       'unsigned int _InterlockedDecrement(volatile unsigned int *)'
          C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(5214): or       'LONG _InterlockedDecrement(volatile LONG *)'
          while trying to match the argument list '(intptr_t *)'

Changesets

2016-02-05 09:55:16 +00:00 by mfriedrich f06f6d4

Windows build fix

fixes #11096

2016-02-09 12:56:17 +00:00 by (unknown) 674badd

Build fix

fixes #11096

2016-02-23 08:41:23 +00:00 by mfriedrich e3373eb

Windows build fix

fixes #11096

2016-02-23 08:43:18 +00:00 by (unknown) 0dc6189

Build fix

fixes #11096

Relations:

@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Feb 4, 2016

Updated by mfriedrich on 2016-02-04 22:08:04 +00:00

  • Relates set to 10963
@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Feb 5, 2016

Updated by mfriedrich on 2016-02-05 09:54:34 +00:00

  • Status changed from New to Assigned
  • Assigned to set to mfriedrich
@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Feb 5, 2016

Updated by mfriedrich on 2016-02-05 10:00:05 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset f06f6d4.

@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Feb 5, 2016

Updated by mfriedrich on 2016-02-05 10:41:17 +00:00

  • Include in Changelog changed from 1 to 0
@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Feb 23, 2016

Updated by gbeutner on 2016-02-23 09:58:48 +00:00

  • Backport? changed from Not yet backported to Already backported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.