From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) by sourceware.org (Postfix) with ESMTPS id 335B93858D1E for ; Fri, 11 Nov 2022 11:40:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 335B93858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-3775545dc24so41802147b3.7 for ; Fri, 11 Nov 2022 03:40:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=snG+MnnsDa2W1jFWDwKcY4hp4h6H89nfvLkq5kh6mCE=; b=dz6KJGyS5q9zQveuITH608VsT7X+jZaHUoeV7Z2Vre1IMOrDyjtZ5gXIjR7ceJh/PM 5AlAx5kWOKPwnnbDX9eqH6POg3bSeG1sVvNgnDxFb8kKm6kUYQBszBVgJZNuaKnsXqna R0k7Xk1mfL2GTAmKsVvhvJ/jj55E90vJobUSfveWrShEXm689n0/gM0W/2EQeShlvLDW sIfa5QostaSa0RSUnT/WRKEgca/Oo6ghdFKFkKW06ZtOzoN1avGGTEQ/7FqD0tLdAxxH 3a/cpdKywlipUstJmzGDkJoo3cGkcfIFYhelLqfJxs5KeRGt5/W4PsQ4V3AGJOH3uGPN gqkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=snG+MnnsDa2W1jFWDwKcY4hp4h6H89nfvLkq5kh6mCE=; b=vVGfPTGjtWc63qJdnISwPEH7QgCTN5vfvbzmiimZ7MWc+t9kv9VEiaggG0jLuDWBP9 5lMYqryOWoZIXrax04ITiPKSz2zTPD7CQkmK8eBDB45mRZNatOIXK6OqbERhegHmnHiN kfdh+Zi28v3Qcl4/f3Tt/Wvy90c3NOblN9qQmyrUgcXz+n17A2KpsHVuZQYF2BdgRFUE RKjE7b+4lHtt/deSjr8FWnPsvN9REGLE55rtpP2Du1ikoOQQLFOjZUTmpNbKYBi2amKk 7yowXQENTHnQ3OVvqfgJYKhnZj3ssxjQszkB7LGL8g3VzI5ZTjr4C1E3qViRJAxvkhwW 5yKA== X-Gm-Message-State: ANoB5plHBoTEqtSWGHx+9QvnUdxhvIgI/xtyXSOMDqiJgyWFfcBq8R7/ i7y/n84Elr0rZcyLLVeRZ2N5vP9XOMtDBmDavGoydC1Ct9M= X-Google-Smtp-Source: AA0mqf5uHBxMh4/RMSvc46mVCH9qKaVtyawyAgQCFYbFJFsXhbdi+/FBCfbaBjy+8qwn45CyTQMXkbXe1Vs2YcoZW8g= X-Received: by 2002:a0d:d694:0:b0:351:f52d:a449 with SMTP id y142-20020a0dd694000000b00351f52da449mr1514856ywd.243.1668166810384; Fri, 11 Nov 2022 03:40:10 -0800 (PST) MIME-Version: 1.0 From: Michel Date: Fri, 11 Nov 2022 12:39:43 +0100 Message-ID: Subject: errors message groups id? To: gcc-help@gcc.gnu.org Content-Type: multipart/alternative; boundary="00000000000028baf605ed305a8f" X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --00000000000028baf605ed305a8f Content-Type: text/plain; charset="UTF-8" Hello all, GCC error/warning messages often provide a lot of extra information, which is great. It is done on a multiline way, like in: foo.h:123:22: ... etc bar.h:234:12: error: qwr.h:456:8: .. etc Nevertheless this has some drawbacks: - Parallel compilation can mess up mixin lines from sep compilations - Often one may want to reorder or deduplicate or archive errors, but associated context lines are not attached to the main error line Is there a compile option to ask GCC to emit some uuid with every errors/context lines, so that an automated system may group them and manage them at once? something like this: foo.h:123:22:uuid1: ... etc bar.h:234:12:uuid1: error: qwr.h:456:8:uuid1: .. etc Seems quite an easy feature to support, if it does not exist already. Regards. --00000000000028baf605ed305a8f--