Changeset 10379
- Timestamp:
- 02/02/15 17:16:14 (9 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r10373 r10379 624 624 list(GET GCC_VERSION_COMPONENTS 0 GCC_MAJOR) 625 625 list(GET GCC_VERSION_COMPONENTS 0 GCC_MINOR) 626 add_definitions ("-W -Wall -Wno-char-subscripts")627 set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall - Wno-char-subscripts -O2")628 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall - Wno-char-subscripts -O2")626 add_definitions ("-W -Wall ") 627 set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O2") 628 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O2") 629 629 set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -ggdb") 630 630 set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -ggdb") -
trunk/Makefile
r10373 r10379 50 50 51 51 # Compiler warnings 52 CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition -Wno-char-subscripts52 CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition 53 53 54 54 # Compiler optimizations -
trunk/module-dvbapi.c
r10373 r10379 1655 1655 ret = sscanf(trim(token), "%c: %63s %63s", &type, str1, str1 + 64); 1656 1656 #endif 1657 type = tolower( type);1657 type = tolower((uchar)type); 1658 1658 1659 1659 if(ret < 1 || (type != 'p' && type != 'i' && type != 'm' && type != 'd' && type != 's' && type != 'l' -
trunk/module-webif-tpl.c
r10373 r10379 724 724 while(*pstr) 725 725 { 726 if(isalnum( *pstr) || *pstr == '-' || *pstr == '_' || *pstr == '.' || *pstr == '~') { *pbuf++ = *pstr; }726 if(isalnum((uchar)*pstr) || *pstr == '-' || *pstr == '_' || *pstr == '.' || *pstr == '~') { *pbuf++ = *pstr; } 727 727 else if(*pstr == ' ') { *pbuf++ = '+'; } 728 728 else -
trunk/reader-bulcrypt.c
r10373 r10379 240 240 { continue; } 241 241 // Sanity check 242 if(!isdigit( card_serial[i]))242 if(!isdigit((uchar)card_serial[i])) 243 243 { card_serial[i] = '*'; } 244 244 } -
trunk/webif/pages_gen.c
r10373 r10379 159 159 char *ident = "", *file = "", *deps = ""; 160 160 int len = strlen(line); 161 if(!len || !isalnum( line[0])) // Skip comments and junk161 if(!len || !isalnum((unsigned char)line[0])) // Skip comments and junk 162 162 { continue; } 163 163 // Parse text[ ]text[ ]text
Note:
See TracChangeset
for help on using the changeset viewer.