From: Alan S. <asm...@fo...> - 2003-05-22 00:04:07
|
Hi, I have solved the problem with the byte swapping when writing out my files. There was a logic error in a definition file with an ifdef statement that was apparently ignored with gcc version 2.95.3-6 and was enforced with gcc version 3.2. I appreciate the help that I got from this list, and my apologies to those I contacted directly without going through the list Thanks again. Alan Alan Smallbone FEM, Inc. FAA Repair Station PU3R776L (818) 240-7740 (818) 240-1009 fax asm...@fo... http://www.fortnereng.com > > > in my program I have the following setup for my file writing: > > > #define mywrite(fspec, count, data) count=fwrite(data,1,count,fspec) > > > > > > For discussion lets say count=4 and data is pointing to "ABCD" > > > > > > When I compile under Mingw ver1.08 and write out the data I get "ABCD" >in > > > the file which is what I want. When compiled with the latest release of > > > Mingw 2.0. and executed I get "DCBA" in the file, |