Community
    • Login

    function list duplicates (in C)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 3 Posters 1.3k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dylan ShekterD Offline
      Dylan Shekter
      last edited by

      I am writing C code and I find that some functions, now 2 across 2 files, show up in the function list every time they are called. The only commonality is that both are if(function) and I think that they also both used (char *str) as inputs (I deleted one of them through development). They show up as function(str), 3 of those, but a the top of the list is function (char *str). I have multiple functions with the same input scheme, also called in if statements. Any ideas?

      1 Reply Last reply Reply Quote 0
      • MAPJe71M Offline
        MAPJe71
        last edited by

        Ideas:

        1. include example code so we can easily reproduce/check the problem;
        2. include which functionList.xml version you’re using (Notepad++ version);
        3. search this forum for previous items on the FunctioList C-parser;
        4. search for applicable issues in the Notepad++ repository;
        5. search for applicable pull requests in the Notepad++ repository ;
        1 Reply Last reply Reply Quote 4
        • Dylan ShekterD Offline
          Dylan Shekter
          last edited by

          @MAPJe71 said:

          include example code so we can easily reproduce/check the problem;

          I would if I could, I should have clarified that it’s against academic honesty policy for my uni to post code anywhere so I can’t. I’ll check out the other stuff.

          1 Reply Last reply Reply Quote 0
          • Dylan ShekterD Offline
            Dylan Shekter
            last edited by

            It looks like the issue has been reported repeatedly since mid-2018. I don’t understand why it’s happening but at least I’m not alone. In fact, you’ve noted it at least twice on github, so I don’t get why you wouldn’t just say "It’s been notices already "but I digress. I’ll just wait until the other issues are marked as resolved.

            Alan KilbornA 1 Reply Last reply Reply Quote 1
            • Alan KilbornA Offline
              Alan Kilborn @Dylan Shekter
              last edited by

              @Dylan-Shekter

              Might be a long wait. Good luck

              1 Reply Last reply Reply Quote 2
              • MAPJe71M Offline
                MAPJe71
                last edited by

                @Dylan-Shekter

                I would if I could, …

                The example code doesn’t have to be the exact source code. A snippet with renamed functions (and empty function body) with which we (that includes you) can reproduce the issue.

                I don’t get why you wouldn’t just say “It’s been noticed already”

                Because I didn’t (and still don’t) understand the exact problem based on your description. That’s why I opted to post more info (points 1 & 2). Furthermore, you could have come to this conclusion yourself/earlier had you executed point 3, 4 or 5.

                1 Reply Last reply Reply Quote 3

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors