!UNVBThoJtlIiVwiDjU:nixos.org

Staging

353 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.11 | Review Reports: https://malob.github.io/nix-review-tools-reports/113 Servers

Load older messages


SenderMessageTime
15 Mar 2026
@vcunat:matrix.orgvcunat* (but that has aliasing issues in some usage patterns)06:31:10
@dramforever:matrix.orgdramforever uint64_t nothing[0]; char name[]? 06:31:18
@vcunat:matrix.orgvcunat* (but that has type-aliasing issues in some usage patterns)06:31:20
@dramforever:matrix.orgdramforeveror is that not allowed06:31:26
@emilazy:matrix.orgemily given the UNSAFE_TODO I'm guessing this is some neglected corner of the browser 06:31:33
@emilazy:matrix.orgemily [0] is precisely GNU extension right 06:31:42
@vcunat:matrix.orgvcunatNot in standard C06:31:43
@dramforever:matrix.orgdramforeverdang06:31:49
@emilazy:matrix.orgemily isn't there an __attribute__((align(…))) or something. maybe something like that got standardized 06:32:10
@vcunat:matrix.orgvcunatYes.06:32:24
@dramforever:matrix.orgdramforeveroh, lol yeah06:32:32
@dramforever:matrix.orgdramforeverhttps://en.cppreference.com/w/c/language/alignas.html06:32:43
@dramforever:matrix.orgdramforeveralthough still06:32:55
@dramforever:matrix.orgdramforeveri'm not sure if that's what they even wanted06:33:04
@dramforever:matrix.orgdramforever i'm [13677/56297] into building chromium-unwrapped and my laptop hasn't exploded yet 06:33:32
@dramforever:matrix.orgdramforeveri think that's a good sign that i will be able to test this after all06:35:19
@vcunat:matrix.orgvcunatIn standard C this certainly works to ensure what they apparently wanted.06:36:16
@vcunat:matrix.orgvcunat(I do use it.)06:36:22
@vcunat:matrix.orgvcunatC++ does have it as well, so probable there as well.06:36:42
@dramforever:matrix.orgdramforever this definitely aligns 06:36:44
@dramforever:matrix.orgdramforever but the old code obviously also just didn't align 06:36:52
@dramforever:matrix.orgdramforeverso maybe they don't actually mean like, type alignment06:37:04
@dramforever:matrix.orgdramforeveror maybe they just messed it up06:37:20
@emilazy:matrix.orgemilyI think they might mean "pad it out"06:46:06
@emilazy:matrix.orgemilybut it's definitely baffling with a flexible array06:46:13
@emilazy:matrix.orgemily maybe you can git blame it. how long can that take on the Chromium repo 06:46:55
@dramforever:matrix.orgdramforeverthe answer is "seconds" btw06:56:10
@dramforever:matrix.orgdramforeverthere's a "Blame" button06:56:14
@dramforever:matrix.orgdramforeverwhich leads to https://codereview.chromium.org/2490303002/patch/260001/27000606:56:17
@dramforever:matrix.orgdramforever

still no idea what "alignment" means, but it looks like

  • chromium intends to at least use [1] for FAM
  • they don't enforce it
06:57:29

Show newer messages


Back to Room ListRoom Version: 6