NO

Author Topic: crash with circular includes  (Read 2280 times)

MaurizioF

  • Guest
crash with circular includes
« on: May 18, 2011, 12:19:28 PM »
I'ts several months i regular use the Ide, but now I  experience frequently ide crashes.
I think it depends on circular includes.
I'm using version 6.50.4 rc3 on windows Xp.
The ide crashes every time i save one of the two modules involved.
Anyway the program is correctly compiled without errors.

every include is protected by its own #ifndef
e.g. :

---- module Objects.h ------
#ifndef __OBJECTS__
#define __OBJECTS__

#include <stdlib.h>
#include "error.h"
... some definition ...
#include "environ.h"        // here is a circular include
... other definitions ...

#endif

---- module environ.h -----

#ifndef __ENVIRON__
#define __ENVIRON__

#include "Hash.h"
... some definition ...   
#include "Objects.h"     // here is a circular include
... other definitions ...   

#endif

Any suggestion ?
Best regards
Maurizio



MichaelT

  • Guest
Re: crash with circular includes
« Reply #1 on: May 20, 2011, 01:55:43 PM »
That is fixed in the latest rc4 release. You should update.