Linux / UNIX Tech Support Forum
This is a discussion on warning: comparison between within the Coding in General forums, part of the Development/Scripting category; [ ]$ g++ -Wall -g hashphonedirectory.cpp -o hashphonedirectory hashphonedirectory.cpp: In member function âint File::Hash(char*)â: hashphonedirectory.cpp:16: warning: comparison between signed and ...
|
|||||||
| Coding in General Discussion on PHP/Perl/Python/Ruby/GNU C or C++. MySQL, PgSQL and (X)HTML or any other programming languages you want. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
[ ]$ g++ -Wall -g hashphonedirectory.cpp -o hashphonedirectory
hashphonedirectory.cpp: In member function âint File::Hash(char*)â: hashphonedirectory.cpp:16: warning: comparison between signed and unsigned integer expressions hashphonedirectory.cpp: At global scope: hashphonedirectory.cpp:214: warning: ISO C++ forbids declaration of âmainâ with no type ------------------------------------------------------- CODE ERROR int File::Hash(char *s) { for(xorin = 0; strlen(s) >= unit; s+= unit) //xoring xorin ^= * (unsigned *) s; |
| Sponsored Links | ||
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| phpmyadmin - warning problem | satimis | Web servers | 1 | 12-06-2009 12:37 PM |
| Fix sprintf warning | Rick | Coding in General | 4 | 03-07-2006 12:00 AM |
| WARNING: General Protection Faults in these executables-sed | Usagi | Linux software | 7 | 23-06-2006 12:15 PM |
| Script disabling error or warning message output | sweta | Shell scripting | 2 | 18-04-2006 08:24 PM |
| gtk warning cannot open display gnome | Linux software | 1 | 14-03-2006 12:50 PM | |