genericopenlibs/cstdlib/TSTLIB/TExportedHeaderFileCompilation.cpp
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This dummy .cpp file only includes all header files exported by stdlib to 
       
    15 // test the compilation error/warnings on various platforms.
       
    16 // 
       
    17 //
       
    18 
       
    19 // STDLIB exported header files
       
    20 #include <estlib.h>
       
    21 #include <estw32.h>
       
    22 #include <redircli.h>
       
    23 #include <redirstr.h>
       
    24 
       
    25 #include <assert.h>
       
    26 #include <ctype.h>
       
    27 #include <dirent.h>
       
    28 #include <errno.h>
       
    29 #include <fcntl.h>
       
    30 #include <limits.h>
       
    31 #include <locale.h>
       
    32 // Including order of 'math.h' and 'ieeefp.h' here need to be considered.
       
    33 //  'math.h' has to be prior to 'ieeefp.h' here to keep the C linkage of a set 
       
    34 //  of functions which were only specified in 'math.h' but declared in both 
       
    35 //  files. Otherwise, errors of incompatibility of linkage specification will be
       
    36 //  generated. Or if C compiler is used, there will be no error at all.
       
    37 #include <math.h>
       
    38 #include <ieeefp.h>
       
    39 
       
    40 #include <netdb.h>
       
    41 #include <netdb_r.h>
       
    42 #include <process.h>
       
    43 #include <pwd.h>
       
    44 #include <reent.h>
       
    45 #include <setjmp.h>
       
    46 #include <signal.h>
       
    47 #include <stdarg.h>
       
    48 #include <stdarg_e.h>
       
    49 #include <stddef.h>
       
    50 #include <stdio.h>
       
    51 #include <stdio_r.h>
       
    52 #include <stdlib.h>
       
    53 #include <stdlib_r.h>
       
    54 #include <string.h>
       
    55 #include <time.h>
       
    56 #include <unistd.h>
       
    57 #include <_ansi.h>
       
    58 
       
    59 #include <sys/config.h>
       
    60 #include <sys/dirent.h>
       
    61 #include <sys/errno.h>
       
    62 #include <sys/fcntl.h>
       
    63 #include <sys/file.h>
       
    64 #include <sys/ioctl.h>
       
    65 #include <sys/param.h>
       
    66 #include <sys/reent.h>
       
    67 #include <sys/resource.h>
       
    68 #include <sys/signal.h>
       
    69 #include <sys/socket.h>
       
    70 #include <sys/stat.h>
       
    71 #include <sys/stdio_t.h>
       
    72 #include <sys/time.h>
       
    73 #include <sys/times.h>
       
    74 #include <sys/types.h>
       
    75 #include <sys/unistd.h>
       
    76 #include <sys/wait.h>
       
    77 #include <sys/_types.h>
       
    78 #include <sys/serial.h>
       
    79 
       
    80 #include <libc/machine/ieeefp.h>
       
    81 #include <libc/machine/types.h>
       
    82 
       
    83 // 'net_types.h' provides missing type definitions required by other header files in
       
    84 //  'netinet' directory
       
    85 #include <libc/netinet/net_types.h>
       
    86 #include <libc/netinet/arp.h>
       
    87 #include <libc/netinet/in.h>
       
    88 // A workaround to remove redefinition warning message on TCP_NODELAY when
       
    89 //  both 'in.h' and 'tcp.h' were included
       
    90 #undef TCP_NODELAY
       
    91 #include <libc/netinet/ip.h>
       
    92 #include <libc/netinet/ip_icmp.h>
       
    93 #include <libc/netinet/tcp.h>
       
    94 #include <libc/netinet/tcp_fsm.h>
       
    95 #include <libc/netinet/tcp_seq.h>
       
    96 #include <libc/netinet/udp.h>
       
    97 
       
    98 #include <libc/arpa/ftp.h>
       
    99 // A workaround to remove redefinition warning message on ERROR when both
       
   100 //  'ftp.h' and 'tftp.h' were included
       
   101 #undef ERROR
       
   102 #include <libc/arpa/inet.h>
       
   103 #include <libc/arpa/nameser.h>
       
   104 #include <libc/arpa/telnet.h>
       
   105 #include <libc/arpa/tftp.h>
       
   106