avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [bug #34302] Feature request : device configuration with p


From: TomažŠolc
Subject: [avrdude-dev] [bug #34302] Feature request : device configuration with parent classes
Date: Wed, 21 Dec 2011 13:59:59 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 Iceweasel/8.0

Follow-up Comment #3, bug #34302 (project avrdude):

I think just removing the following would work.

      if (current_part->op[opnum] != NULL) {
        fprintf(stderr,
              "%s: warning at %s:%d: operation redefinedn",
              progname, infile, lineno);
        free(current_part->op[opnum]);
      }

That warning doesn't make sense when you are redefining things in derived
parts anyway. It would create a small memory leak in case an opcode gets
redefined inside in a part itself though (not parts derived from it).

If that's not acceptable, I can do refcounting in OPCODE. It think that's
better than just duplicating everything.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?34302>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]