>------------------- Message from Tim Rice -------------------- > On Thu, 12 Feb 2004, Gustavo Niemeyer wrote: > > > Hello folks, > > > > can you please test the following piece of code with your compilers > > and check if they're issuing any warnings? Thanks! > > > > #include <stdio.h> > > int main(int argc, char *argv[]) > > { > > char c = 1; > > if (!(c & ~255)) printf("Thanks!\n"); > > return 0; > > } > > > > OK UnixWare 7.1.3 > Optimizing C Compilation System (CCS) 4.1 10/31/02 (OU7.1.3bl11.1 > OK UnixWare 2.03 > Optimizing C Compilation System (CCS) 3.0 02/14/95 (e10) > OK SCO OpenServer 3 > Native cc and gcc 2.7.2.3 > OK SCO OpenServer 5.0.4 > SCO UNIX Development System Release 5.1.0Ha 25Apr97 > OK UnixWare 7.1.1 > Optimizing C Compilation System (CCS) 3.2 09/28/99 (santamariasbl 5.1.rs1ubl7) > OK Caldera OpenLinux 3.1.1 > gcc 2.95.2 > OK SCO OpenServer 5.0.7 > SCO UNIX Development System Release 5.2.0A 22Jul03 > gcc 2.95.3 > OK Solaris 7 > gcc 2.95.2 > > -- > Tim Rice Multitalents > tim at multitalents.net >-------------------------------------------------------- Not a squeak. I tried both 32-bit and 64-bit compilations where applicable. OK SGI IRIX 6.5 (32-bit/64-bit): MIPSpro Compilers: Version 7.3.1.3m OK Linux x86: 32-bit Intel C/C++ Version 8.0 (icpc) OK Linux x86: 32-bit Intel C/C++ Version 7.1 (icpc) OK Linux ia64: 64-bit Intel C/C++ Version 7.1 (ecpc) OK Windows: Microsoft 32-bit Visual C++ 6.0 (Version 12.00.8804) OK Windows: Microsoft 32-bit .Net C++ Compiler (Version 13.10.3077) OK SUN Solaris 8 (32-bit/64-bit): Sun ONE Studio 8 Compiler (CC) OK IBM AIX 5.1 (32-bit/64-bit): IBM VisualAge 5.0 (xlC) OK HP-UX/PA-RISC 11.00 (32/64-bit): aC++/C Compiler A.03.25 (aCC) OK HP-UX/Itanium 11.22 (64-bit): aC++/C Compiler A.05.41 (aCC) OK COMPAQ Tru64 UNIX V5.1 (64-bit): Compaq C/C++ Compiler V6.3-011 (cxx) -- Nick Monyatovsky -- mon at abaqus.com
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4