Skip to content

[BUG]: Warnings with -Wnull-dereference cmake flag #7875

@nirandaperera

Description

@nirandaperera

Is this a duplicate?

Type of Bug

Silent Failure

Component

libcu++

Describe the bug

Issue is described here https://gist.github.com/bdice/36ab8a1f3e6f851efb2e58bb3602d853

How to Reproduce

build with

        "-DCMAKE_CXX_FLAGS=-Wnull-dereference -Werror",
        "-DCMAKE_CUDA_FLAGS=-Xcompiler=-Wnull-dereference -Xcompiler=-Werror"

Expected behavior

should not fail

Reproduction link

No response

Operating System

ubuntu 24.04

nvidia-smi output

No response

NVCC version

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions