This is a cache of https://sourceforge.net/p/sevenzip/discussion/45797/thread/da14cd780b/. It is a snapshot of the page as it appeared on 2025-09-03T12:15:53.042+0200.
7-Zip / Discussion / Open Discussion: 7-Zip 25.01
Menu

7-Zip 25.01

2025-08-03
4 days ago
  • Charlie Opeke

    Charlie Opeke - 2025-08-04

    can somebody tell me which versions of 7-zip still receive patches, support and bug fixes? or should I just assume the latest stable version is the only active version?

     
    • Gabriel Magana-Gonzalez

      Seeing from the changelog, it's only the latest version that receives changes. This is not an official position, though.

       
  • mrfearless

    mrfearless - 2025-08-05

    Noticed on bluesnews.com website a link to the new 7-zip release on github: https://github.com/ip7z/7zip

    is this legit? repo and user look new. is it an example of a supply chain attack?

    Just thought I would mention it just in case. Source from bluesnews is some web page called broadband bulletin: https://broadbandbulletin.com/d/4195-7-zip-v2501-released

    Best regards

    mrfearless

     

    Last edit: mrfearless 2025-08-05
  • teoberi

    teoberi - 2025-08-05

    Is legit!

     
  • mrfearless

    mrfearless - 2025-08-05

    Ok grand, just wanted to double check. No harm in verifying this i guess, specially nowadays with lots of shady stuff.

    Thanks for letting me know.

    Cheers.

     
  • lelik007

    lelik007 - 6 days ago

    @ipavlov Igor, please take a look what's going on here, there's an archive:
    7zFM shows: 543 Files, 53 Folders - this is right.
    7z l shows: 543 files, 268 folders - this isn't right, but we don't know why this happens.
    I used 7z2501-x64.exe for testing.

     

    Last edit: Igor Pavlov 6 days ago
    • Igor Pavlov

      Igor Pavlov - 6 days ago

      call

      7z l archive.7z > a.txt
      

      and look a.txt lines.

       
      • lelik007

        lelik007 - 6 days ago

        @ipavlov Yes, the file @tansy gave is that archive. Thanks for the quick response.
        I made a mirror just in case.
        @tansy

        It's not limited to current version as our behaves the same for long time, if not forever.

        Well, I didn't dig this deep.

         

        Last edit: Igor Pavlov 6 days ago
        • Igor Pavlov

          Igor Pavlov - 6 days ago

          call

          7z l archive.7z > a.txt
          7z l archive.7z -slt > slt.txt
          

          look it and think.
          if you don't see the reason of problem, upload that listing files to some another thread and describe the problem.

           

          Last edit: Igor Pavlov 6 days ago
  • Alexey Shelaev

    Alexey Shelaev - 6 days ago

    @ipavlov thanks for the release!
    Having issue when building Alone2 on macOS with recent clang. The command I use make -f ../../cmpl_mac_arm64.mak
    The error I get

    clang++ -arch arm64     -O2 -c -Werror -Wall -Wextra -Weverything -Wfatal-errors -Wno-poison-system-directories -DNDEBUG -D_REENTRANT -D_FILE_OF
    FSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC     -std=c++11  -o b/m_arm64/ApfsHandler.o ../../Archive/ApfsHandler.cpp
    ../../Archive/ApfsHandler.cpp:3542:3: fatal error: 'switch' missing 'default' label [-Wswitch-default]
     3542 |   switch (propID)
          |   ^
    1 error generated.
    

    The cure I applied: added -Wno-switch-default to CFLAGS_LIST inside warn_clang_mac.mak

     
    • Igor Pavlov

      Igor Pavlov - 5 days ago

      We have such lines CPP\Common\Common0.h

      #if defined(Z7_LLVM_CLANG_VERSION) && __clang_major__ >= 18 // 18.1.0RC
      #pragma GCC diagnostic ignored "-Wswitch-default"
      #endif
      

      Can you suggest exact lines to update it?

      we have such macros:

      #if defined(__clang__)
      # define Z7_CLANG_VERSION  (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__)
      #endif
      #if defined(__clang__) && defined(__apple_build_version__)
      # define Z7_APPLE_CLANG_VERSION   Z7_CLANG_VERSION
      #elif defined(__clang__)
      # define Z7_LLVM_CLANG_VERSION    Z7_CLANG_VERSION
      

      So we must know what exact versions for apple and llvm switch-default must be ignored.
      please call

      ./7zz b
      

      it will show version of clang compiler.

       

      Last edit: Igor Pavlov 5 days ago
      • Alexey Shelaev

        Alexey Shelaev - 5 days ago

        My apple clang is 17.0.0 installed with Xcode 16.4, so the compilation works for me with the following modification of Common0.h

        #if defined(Z7_LLVM_CLANG_VERSION) && __clang_major__ >= 18 /*18.1.0RC*/ \
           || defined(Z7_APPLE_CLANG_VERSION) && __clang_major__ >= 17 /*Apple clang version 17.0.0 (clang-1700.0.13.5)*/
        #pragma GCC diagnostic ignored "-Wswitch-default"
        #endif
        

        I didn't find a straightforward way to install an older apple clang, so I can't confirm by tests the exact version since which the warnning fires. Though online llvm documentation states it starts firing since clang 18, and unofficial wiki versions mapping indicates that apple clang 17 is based on llvm 19, therefore the suggested modification would probably work correctly

         
        • Igor Pavlov

          Igor Pavlov - 5 days ago

          thanks.
          probably even some old xcode versions support

          #pragma GCC diagnostic ignored "-Wswitch-default"
          

          so condition __clang_major__ >= 17 can be relaxed.

           

          Last edit: Igor Pavlov 5 days ago
  • arhfk

    arhfk - 4 days ago

    i really enjoy 7-Zip since version 4.23. it's always a good feeling to extract or pack files with 7-Zip.

    the most reliable software i have met.

     

Log in to post a comment.