Announcement

Collapse
No announcement yet.

DEBUG: Code Questions (Compiling, Bugs, Revision Reports, Etc)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #76
    RichardH,

    revision 773 compiled with no problem
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

    Comment


    • #77
      <MrBurns>Excellent</MrBurns>

      Now comes the tricksy part. Can you replace ctp2_code/libs/anet/h/hkeytab.h with the attached file, and try again please? GCC (newer versions, anyway) requires '__attribute__ ((packed))' at the end of a structure in order to make it byte aligned. Earlier versions required it after each element.

      I'm fairly certain that PACK gets #defined to null on Windows and other platforms, but this is a fairly significant change affecting lots of files, and I'd like to be sure it doesn't do anything nasty to other platforms before I commit it to the trunk.
      Tea: there is nothing it cannot fix.

      Comment


      • #78
        ok but i need the attached file

        D'oh
        Last edited by Ekmek; July 26, 2007, 15:38.
        Formerly known as "E" on Apolyton

        See me at Civfanatics.com

        Comment


        • #79
          Ah, you spotted my deliberate mistake. Well done. :P

          I had the wrong file extension, and it dropped it.
          Attached Files
          Tea: there is nothing it cannot fix.

          Comment


          • #80
            i usually zip it to post things. testing now
            Formerly known as "E" on Apolyton

            See me at Civfanatics.com

            Comment


            • #81
              it compiled with 0 probs, but I'm going to do a rebuild all just in case
              Formerly known as "E" on Apolyton

              See me at Civfanatics.com

              Comment


              • #82
                Excellent. If it compiles without too many complaints, I'll merge all of the packing changes in the next commit. That should reduce the anet diff quite significantly.
                Tea: there is nothing it cannot fix.

                Comment


                • #83
                  full rebuild all - no errors, no warnings
                  Formerly known as "E" on Apolyton

                  See me at Civfanatics.com

                  Comment


                  • #84
                    Splendid. I'll commit all the changes later this evening. Thanks for testing!
                    Tea: there is nothing it cannot fix.

                    Comment


                    • #85
                      i have installed the 2006 version of playtest when i make a map with the editor the map becomes error at the coats borders an ocean cliffs

                      (sorry for my bad english)

                      Comment


                      • #86
                        thanks i think that is error we still havent corrected. i cant recall if it corrects itself when you reload the map or not
                        Formerly known as "E" on Apolyton

                        See me at Civfanatics.com

                        Comment


                        • #87
                          ther are a other bug when i atack a other nation and declare war the game shutdown to the desktop an i become a error message :slic error array idex 0 out of bounds

                          edit: the error is only with the 2006 playtest version with playtest 2004 i dont have this error with the world editor

                          i add a pic in attach from the bugged world edito
                          Attached Files
                          Last edited by falloutrose; September 27, 2007, 19:33.

                          Comment


                          • #88
                            the slic error was fixed later. the playtest in my link:



                            is better
                            Formerly known as "E" on Apolyton

                            See me at Civfanatics.com

                            Comment


                            • #89
                              i already habe this playtest and the revision link does not work

                              Comment


                              • #90
                                sorry try this one:

                                Formerly known as "E" on Apolyton

                                See me at Civfanatics.com

                                Comment

                                Working...
                                X