This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Curious problem (was STATUS_ACCESS_VIOLATION for opengl.)


The STATUS_ACCESS_VIOLATION is getting a little
stranger.

I can compile and run a normal C program fine...as
long as it has only a function main! If there are any
function-calls, then I get the STATUS_ACCESS_VIOLATION
when the first function is called.

Can anyon explain this behaviour?

I am compiling using :-

gcc myProg.c -o myProg.exe

Am I doing something silly wrong?

Sounds like the stack may be being allocated from an
invalid area of memory?

Thanks,
Mark.


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]