Then I guess my hack to fix this problem does not work with gcc-4.2.
Actually just declaring edx to be volatile should have fixed the problem, but gcc-4.0.1 still complained.
Maybe the volatile keyword will work as it should with gcc-4.2. But I still have the problem that a lot of people will want to compile with gcc-4.0.1 on the Mac.
May be time for a cleaner solution. Let me see what I can do.
Then I guess my hack to fix this problem does not work with gcc-4.2.
Actually just declaring edx to be volatile should have fixed the problem, but gcc-4.0.1 still complained.
Maybe the volatile keyword will work as it should with gcc-4.2. But I still have the problem that a lot of people will want to compile with gcc-4.0.1 on the Mac.
May be time for a cleaner solution. Let me see what I can do.