Open Bug 1838062 Opened 2 years ago Updated 1 year ago

[ntio] incompatible pointer error

Categories

(NSPR :: NSPR, defect, P5)

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: gzyfqh, Unassigned)

Details

Steps to reproduce:

Use build.sh to compile nss on windows system

Actual results:

../../../../../pr/src/md/windows/ntio.c:307:44: error: incompatible pointer to integer conversion passing 'PVOID'
(aka 'void *') to parameter of type 'long' [-Wint-conversion]
(PVOID)mwstatus, (PVOID)PR_MW_PENDING)
^~~~~~~~~~~~~~~

../../../../../pr/src/md/windows/ntio.c:307:61: error: incompatible pointer to integer conversion passing 'PVOID'
(aka 'void *') to parameter of type 'long' [-Wint-conversion]
(PVOID)mwstatus, (PVOID)PR_MW_PENDING)
^~~~~~~~~~~~~~~~~~~~

Expected results:

I can use build.sh to compile nss normally on windows system without error

The severity field is not set for this bug.
:beurdouche, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(bbeurdouche)

@ Kai, is this NSPR? If so, can you set priority and severity, please ? : ) Thanks !

Flags: needinfo?(bbeurdouche) → needinfo?(kaie)

Ho, is this a regression for you? Were you ever able to build NSS in the same way in the past?

I haven't checked the ability to build NSS standalone on Windows in a while.

It would be best if you could describe which build instructions you followed, and which instructions you followed for getting your system prepared for building.

Why do you this error when building on your system, but we don't get it when bulding NSS in the Mozilla environments?

What's special about your system or toolchain?

Flags: needinfo?(kaie)
Severity: -- → S4
Priority: -- → P5
Assignee: nobody → nobody
Component: Libraries → NSPR
Product: NSS → NSPR
Version: trunk → other
You need to log in before you can comment on or make changes to this bug.