Menu

#1125 Compiler selection dialog should not include invalid compilers

Undefined
fixed
None
Feature_Request
2022-02-24
2021-08-08
No

The compiler selection dialog that is shown if you load a project that has an invalid compiler and open the build options shows all of the compilers which is not very good as it should only show valid compilers so the end user can select it instead of potentially another invalid compiler.

Related

Tickets: #1165

Discussion

  • Teodor Petrov

    Teodor Petrov - 2021-08-09
    • summary: Compiler Slection dialog should not include invalid compilers --> Compiler selection dialog should not include invalid compilers
     
  • Miguel Gimenez

    Miguel Gimenez - 2021-12-20
    • assigned_to: Miguel Gimenez
     
  • Miguel Gimenez

    Miguel Gimenez - 2021-12-20
    • status: open --> fixed
     
  • Miguel Gimenez

    Miguel Gimenez - 2021-12-20

    Fixed in [r12601]

     

    Related

    Commit: [r12601]

  • Andrew Cottrell

    Andrew Cottrell - 2022-02-23

    This is not fixed in Nightly SVN 12719 as it shows the compiler drop down as "blank" and no errors or messages are shown, so the end user will think everything is okay. Attached is a screen snippet of the dialog showing the issue.

    This was tested as follows:
    1) Open my Cygwin based project file with cygwin in C:\cygwin64
    2) Make sure the compiler in the project->build options dialog is set to "Cygwin GCC"
    3) Save the project.
    4) Close Code::Blocks
    5) Make sure the project file has the compiler set to "cygwin" (attached is the project file)
    6) Rename C:\cygwin64 to C:\test.cygwin64
    7) Open Code::Blocks
    8) Load the project file
    9) Select the project->build options dialog and it will show the "blank" compiler.

    Let me know if you want the solution I did last year.

     
  • Morten MacFly

    Morten MacFly - 2022-02-24

    Similar to:
    https://sourceforge.net/p/codeblocks/tickets/1126/

    From my point of view we don't have an issue here. There are cases where you explicitly want to select invalid compilers. So please: DON'T CHANGE!

    If patches have been applied that make this selection impossible, they will be reverted.

     
    • Andrew Cottrell

      Andrew Cottrell - 2022-02-24

      If the failure in the current nightly is okay then so be it.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.