RE: Runtime SEGV from gcc -O3 -march=native

2010-07-26 Thread Joseph Quinsey
Again, just FYI, with a simpler example, and with -march=native replaced by k8 or athlon64. Source code: int main(void) { static int foo[4]; int i; for (i = 0; i 4; i++) foo[i] = 0; return 0; } Compile and run, using Cygwin's current gcc version 4.3.4: gcc -O3

Runtime SEGV from gcc -O3 -march=native

2010-07-22 Thread Joseph Quinsey
FYI. Source code: int main(void) { static int foo[4]; int bar[4]; int i; for (i = 0; i 4; i++) foo[i] = bar[i]; return 0; } Compile and run, using Cygwin's current gcc version 4.3.4: gcc -O3 -march=native foobar.c a.exe Segmentation fault (core dumped)

xterm faceSize and -fs in version 260

2010-06-27 Thread Joseph Quinsey
The xterm faceSize resource and the -fs command line option do not seem to work with xterm version 260. Installing the previous Cygwin version, 255, fixes this. --- Joseph Quinsey -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com

RE: xterm faceSize and -fs in version 260

2010-06-27 Thread Joseph Quinsey
Attached are the results of appres XTerm and xterm. appres_XTerm2 Description: Binary data appres_xterm Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

RE: Cygwin 1.7.1 sprintf() with format string having 8th bit set

2010-01-04 Thread Joseph Quinsey
Hello, Thank you Andy for your help. As per your suggestion, the problem was resolved by adding the line: setlocale (LC_CTYPE, C.ASCII); My actual code was something like: #define CSI_ \233 ... sprintf (..., CSI_%d;%dH, row, col); So my problem is fixed. But as a matter of

Cygwin 1.7.1 sprintf() with format string having 8th bit set

2010-01-03 Thread Joseph Quinsey
Hello, In Cygwin 1,7.1, sprintf() with the format string having an 8th bit set appears to be broken. Sample code (where I've indicated the backslashes in the comments, in case they are stripped out by the mailer): #include stdio.h int main (void) { unsigned char foo[30] = ; unsigned