public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: "woodard at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: libabigail@sourceware.org
Subject: [Bug default/21772] ignore whitespace changes when comparing names:
Date: Sun, 01 Jan 2017 00:00:00 -0000	[thread overview]
Message-ID: <bug-21772-9487-1YwcQS98so@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-21772-9487@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=21772

--- Comment #8 from Ben Woodard <woodard at redhat dot com> ---
Dodji, I know that we discussed this in chat and you pointed out that it was
test2 that was wrong rather than test1 and that it was considering something
harmless which wasn't but I can't recall what that was. Can you explain it
again?

[ben@localhost c++test]$ abidiff --no-unreferenced-symbols --harmless test2.o
test2-clang.o 
Functions changes summary: 0 Removed, 0 Changed, 0 Added function
Variables changes summary: 0 Removed, 1 Changed, 0 Added variable

1 Changed variable:

  [C]'A<int, int*> i' was changed to 'A<int, int *> i' at test2.cpp:6:1:
    type of variable changed:
     type name changed from 'A<int, int*>' to 'A<int, int *>'
     type size hasn't changed

     2 data member changes:
      name of 'A<int, int*>::a' changed to 'A<int, int *>::a' at test2.cpp:2:1
      name of 'A<int, int*>::b' changed to 'A<int, int *>::b' at test2.cpp:3:1


[ben@localhost c++test]$ cat test2.
test2.cpp  test2.o    
[ben@localhost c++test]$ cat test2.cpp 
template <typename T, typename U = T*> struct A {
  T a;
  U b;
};

A<int> i;

I recognize that 21296 is the issue regarding normalizing types which appears
in the typenames but I don't see in this case why considering this change
harmless is a problem. I think you said that it was because it was considered
harmless for the wrong reason but I don't recall what you said was the reason.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2017-07-26 18:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-01  0:00 [Bug default/21772] New: " woodard at redhat dot com
2017-01-01  0:00 ` [Bug default/21772] " woodard at redhat dot com
2017-01-01  0:00 ` dodji at redhat dot com
2017-01-01  0:00 ` woodard at redhat dot com
2017-01-01  0:00 ` woodard at redhat dot com
2017-01-01  0:00 ` woodard at redhat dot com [this message]
2017-01-01  0:00 ` woodard at redhat dot com
2017-01-01  0:00 ` woodard at redhat dot com
2017-01-01  0:00 ` woodard at redhat dot com
2020-11-13  0:08 ` woodard at redhat dot com
2020-11-25  6:32 ` dodji at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-21772-9487-1YwcQS98so@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libabigail@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).