Skip to content

Order of include path entries on the command line is unspecified #2143

Closed

Description

@lberki

Apparently, given a certain shape of the dependency graph, it's not specified in which order -I include path entries appear if there are cc_inc_library or cc_library.includes= rules in it.

This should be fixed, because undefined behavior is a bad thing, mmmkay?

Activity

  1. added
    P2
    on Nov 28, 2016
  2. hlopko commented on Nov 28, 2016

    @hlopko
    Member

    Definitely needs to be fixed. Will look into that.

  3. lberki commented on Nov 28, 2016

    @lberki
    ContributorAuthor

    The simplest would be to figure out what we do now, and if it's sane enough, codify that. For extra points, refactor things so that it's obvious from the implementation. I spent ~10 minutes looking at it and it was very, very far from being obvious.

  4. added
    team-Rules-CPP
    and removed on Oct 11, 2018
  5. removed their assignment
    on Dec 6, 2019
  6. added
    P4
    and removed
    P2
    on Nov 24, 2020
  7. sgowroji commented on Jan 24, 2023

    @sgowroji
    Member

    Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P4team-Rules-CPPtype: bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions