Community
    • Login

    Errors building current repository

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    30 Posts 3 Posters 27.3k Views
    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.
    • Claudia FrankC
      Claudia Frank @Yaron
      last edited by

      Hello Yaron,

      when right clicking on notepad++ in project view
      you see a folder external dependencies and under this folder
      there is a file called atlbase.h If you double click on it
      search for #pragma section(“ATL$__a”, read, shared)
      comment the three lines and/or replace it with the ones here.

      //#pragma section("ATL$__a", read, shared)
      //#pragma section("ATL$__z", read, shared)
      //#pragma section("ATL$__m", read, shared)
      #pragma section("ATL$__a", read)
      #pragma section("ATL$__z", read)
      #pragma section("ATL$__m", read)
      

      Warnings gone, basically, what ms says, shared means that all process can get access this section
      but from my understanding this isn’t possible within an win32 environment at all due to memory protection
      between processes.

      So from my point it is even safe to ignore it. (but I did the change - less to read on the output ;-))

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank
        last edited by

        @dail,

        could you check if the atlbase.h version provided by community edition has still the shared flag?
        Actually I don’t see any reason for it. Maybe someone can enlight me.

        Cheers
        Claudia

        dailD 1 Reply Last reply Reply Quote 0
        • YaronY
          Yaron
          last edited by

          Hello Claudia,

          Fast and furious. :)
          Commenting those lines generated some errors.
          Replacing them works well (no warnings).

          Thank you.

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC
            Claudia Frank @Yaron
            last edited by Claudia Frank

            Hello Yaron

            Fast and furious. :)

            In memories of Paul Walker :-(

            Commenting those lines generated some errors.

            Not for me, I actually commented them

            Replacing them works well (no warnings).

            Hmmm, sure you commented them correctly ;-)

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • YaronY
              Yaron
              last edited by

              Hello Claudia,

              I have actually not seen the series. I usually prefer European films. :)
              Anyway, may he RIP.

              Could you please see this?

              BR.

              Claudia FrankC 1 Reply Last reply Reply Quote 0
              • Claudia FrankC
                Claudia Frank @Yaron
                last edited by

                Hello Yaron,

                sorry, I 'm a fool :-D (can’t stop laughing)
                What I meant was commenting the lines to still have the old version
                but to add the new statements with read flag only.
                Basically what I have posted but not said :-D

                Sorry for confusion.

                Cheers
                Claudia

                Claudia FrankC 1 Reply Last reply Reply Quote 0
                • Claudia FrankC
                  Claudia Frank @Claudia Frank
                  last edited by

                  Oh nnoo nooo I said it

                  comment the three lines and/or replace it with the ones here.

                  comment the three lines and replace it with the ones here.

                  comment the three lines or replace it with the ones here.

                  Or?? :-D

                  Cheers
                  Claudia

                  1 Reply Last reply Reply Quote 0
                  • YaronY
                    Yaron
                    last edited by

                    You’re certainly no fool. :)
                    Being an armature, I understood “and/or” literally.

                    Great!
                    Many thanks again.
                    BR.

                    1 Reply Last reply Reply Quote 0
                    • YaronY
                      Yaron
                      last edited by

                      Being an amateur… :)

                      1 Reply Last reply Reply Quote 0
                      • Claudia FrankC
                        Claudia Frank
                        last edited by

                        Just used different translator to find out what this means ;-)

                        Thx - but you aren’t ;-)

                        Cheers
                        Claudia

                        1 Reply Last reply Reply Quote 0
                        • YaronY
                          Yaron
                          last edited by

                          Actually the Penny has dropped for me after posting (i.e. I started analyzing the possible meanings too late). :)

                          Thanks. Everything is relative.
                          I certainly didn’t know what I was doing here. :)

                          BR.

                          1 Reply Last reply Reply Quote 0
                          • dailD
                            dail @Claudia Frank
                            last edited by

                            @Claudia-Frank said:

                            could you check if the atlbase.h version provided by community edition has still the shared flag?
                            Actually I don’t see any reason for it. Maybe someone can enlight me.

                            Cheers
                            Claudia

                            My header does not have the shared flag, it only has

                            #pragma section("ATL$__a", read)
                            #pragma section("ATL$__z", read)
                            #pragma section("ATL$__m", read)
                            
                            Claudia FrankC 1 Reply Last reply Reply Quote 0
                            • Claudia FrankC
                              Claudia Frank @dail
                              last edited by Claudia Frank

                              @dail

                              thank you very much for clarifying.

                              @Yaron,
                              so we did what MS already did in a newer version of atl.

                              Cheers
                              Claudia

                              1 Reply Last reply Reply Quote 0
                              • YaronY
                                Yaron
                                last edited by

                                @dail,

                                Thank you very much.
                                Am I not right in officially adding “Sherlock Holmes” to Claudia’s name?
                                You must be impressed as well, aren’t you?

                                BR.

                                1 Reply Last reply Reply Quote 1
                                • First post
                                  Last post
                                The Community of users of the Notepad++ text editor.
                                Powered by NodeBB | Contributors