#105 GCC 4.5.2 crash during Scene.c compilation


I noticed that compiling pymol using GCC Ubuntu/Linaro 4.5.2-8ubuntu4 (I'm using Ubuntu) brings to a crash of the compiler. I know that it's a compiler problem, but I've been able to avoid it changing the code just a bit.
The problem is due to nested switches, and I saw that changing just one "switch" to a "if" statement fixes the problem. Maybe it's not necessary to change anything in the repository, but having a known workaround could be useful.
I attach the patch that fixes the problem.

Thanks for your support.
Edoardo Morandi


  • Edoardo Morandi

    Edoardo Morandi - 2011-07-26

    layer1/Scene.c patch for GCC workaround

  • Thomas Holder

    Thomas Holder - 2013-03-29
    • status: open --> closed-works-for-me
    • assigned_to: Thomas Holder
    • milestone: --> v1.6.0.0
  • Thomas Holder

    Thomas Holder - 2013-03-29

    I have no such issues on Linux 64bit with gcc 4.5.4


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks