Gammu internals  1.38.0
3.0.2/CompilerIdC/CMakeCCompilerId.c File Reference

Go to the source code of this file.

Macros

#define COMPILER_ID   ""
 
#define PLATFORM_ID   ""
 
#define ARCHITECTURE_ID   ""
 
#define DEC(n)
 
#define HEX(n)
 

Functions

int main (int argc, char *argv[])
 

Variables

char const * info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
 
char const * info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
 
char const * info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
 

Macro Definition Documentation

§ ARCHITECTURE_ID

#define ARCHITECTURE_ID   ""

Definition at line 348 of file 3.0.2/CompilerIdC/CMakeCCompilerId.c.

§ COMPILER_ID

#define COMPILER_ID   ""

Definition at line 221 of file 3.0.2/CompilerIdC/CMakeCCompilerId.c.

§ DEC

#define DEC (   n)
Value:
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))

Definition at line 352 of file 3.0.2/CompilerIdC/CMakeCCompilerId.c.

§ HEX

#define HEX (   n)
Value:
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))

Definition at line 363 of file 3.0.2/CompilerIdC/CMakeCCompilerId.c.

§ PLATFORM_ID

#define PLATFORM_ID   ""

Definition at line 315 of file 3.0.2/CompilerIdC/CMakeCCompilerId.c.

Function Documentation

§ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 424 of file 3.0.2/CompilerIdC/CMakeCCompilerId.c.

References info_arch, info_compiler, and info_platform.

425 {
426  int require = 0;
427  require += info_compiler[argc];
428  require += info_platform[argc];
429  require += info_arch[argc];
430 #ifdef COMPILER_VERSION_MAJOR
431  require += info_version[argc];
432 #endif
433 #ifdef SIMULATE_ID
434  require += info_simulate[argc];
435 #endif
436 #ifdef SIMULATE_VERSION_MAJOR
437  require += info_simulate_version[argc];
438 #endif
439  (void)argv;
440  return require;
441 }
char const * info_arch
char const * info_platform
char const * info_compiler

Variable Documentation

§ info_arch

char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"

Definition at line 414 of file 3.0.2/CompilerIdC/CMakeCCompilerId.c.

Referenced by main().

§ info_compiler

char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"

Definition at line 229 of file 3.0.2/CompilerIdC/CMakeCCompilerId.c.

Referenced by main().

§ info_platform

char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"

Definition at line 413 of file 3.0.2/CompilerIdC/CMakeCCompilerId.c.

Referenced by main().