Bug#17937: global variable to a specific source

orna ornaz at hotmail.co.il
Mon Jan 1 09:19:03 UTC 2001


Package: kdevelop
Version: 1.2
Severity: normal

Bugreport ID : 11:08,01.01.01

Originator	: orna
E-Mail		: ornaz at hotmail.co.il

Subject : global variable to a specific source

Error Class	: software bug
Error Location	: I don´t know
Priority	: low
Bug Description ---------------------------

I have to 2 C files sources 
that both have one thread function
one.c
and two.c

in both i declare the same global variable 
with the same name and type
those variable are (according to ansi c)
globale to the source the variable is located
but during run-time  i realized that the value changed 
by instruction that are located in the diffrent source.

somthing that not happen with int type variable in same case
my global variable is  type with my define of struct

of course i rename the variable name and it works.



How to repeat the error -------------------



Bugfix or Workaround ----------------------



System Information ------------------------

KDevelop version	: 1.2
KDE version		: 
QT version		: 
OS/Distribution		: 
Compiler		: 

misc :

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list