fork download
  1. #define int oops
  2. #include <cstdio>
  3.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
In file included from /usr/include/c++/6/cstdio:41:0,
                 from prog.cpp:2:
/usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h:201:26: error: expected initializer before ‘size_t’
   typedef __SIZE_TYPE__  size_t;
                          ^~~~~~
/usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h:202:28: error: expected initializer before ‘ptrdiff_t’
   typedef __PTRDIFF_TYPE__ ptrdiff_t;
                            ^~~~~~~~~
In file included from /usr/include/stdio.h:33:0,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:216:23: error: expected initializer before ‘size_t’
 typedef __SIZE_TYPE__ size_t;
                       ^~~~~~
In file included from /usr/include/stdio.h:35:0,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/x86_64-linux-gnu/bits/types.h:31:28: error: expected initializer before ‘__u_short’
 typedef unsigned short int __u_short;
                            ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:32:22: error: expected initializer before ‘__u_int’
 typedef unsigned int __u_int;
                      ^~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:33:27: error: expected initializer before ‘__u_long’
 typedef unsigned long int __u_long;
                           ^~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:38:26: error: expected initializer before ‘__int16_t’
 typedef signed short int __int16_t;
                          ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:39:28: error: expected initializer before ‘__uint16_t’
 typedef unsigned short int __uint16_t;
                            ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:40:20: error: expected initializer before ‘__int32_t’
 typedef signed int __int32_t;
                    ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:41:22: error: expected initializer before ‘__uint32_t’
 typedef unsigned int __uint32_t;
                      ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:43:25: error: expected initializer before ‘__int64_t’
 typedef signed long int __int64_t;
                         ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:44:27: error: expected initializer before ‘__uint64_t’
 typedef unsigned long int __uint64_t;
                           ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:52:18: error: expected initializer before ‘__quad_t’
 typedef long int __quad_t;
                  ^~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:53:27: error: expected initializer before ‘__u_quad_t’
 typedef unsigned long int __u_quad_t;
                           ^~~~~~~~~~
In file included from /usr/include/stdio.h:35:0,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/x86_64-linux-gnu/bits/types.h:124:25: error: expected initializer before ‘__dev_t’
 __STD_TYPE __DEV_T_TYPE __dev_t; /* Type of device numbers.  */
                         ^~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:125:25: error: expected initializer before ‘__uid_t’
 __STD_TYPE __UID_T_TYPE __uid_t; /* Type of user identifications.  */
                         ^~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:126:25: error: expected initializer before ‘__gid_t’
 __STD_TYPE __GID_T_TYPE __gid_t; /* Type of group identifications.  */
                         ^~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:127:25: error: expected initializer before ‘__ino_t’
 __STD_TYPE __INO_T_TYPE __ino_t; /* Type of file serial numbers.  */
                         ^~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:128:27: error: expected initializer before ‘__ino64_t’
 __STD_TYPE __INO64_T_TYPE __ino64_t; /* Type of file serial numbers (LFS).*/
                           ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:129:26: error: expected initializer before ‘__mode_t’
 __STD_TYPE __MODE_T_TYPE __mode_t; /* Type of file attribute bitmasks.  */
                          ^~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:130:27: error: expected initializer before ‘__nlink_t’
 __STD_TYPE __NLINK_T_TYPE __nlink_t; /* Type of file link counts.  */
                           ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:131:25: error: expected initializer before ‘__off_t’
 __STD_TYPE __OFF_T_TYPE __off_t; /* Type of file sizes and offsets.  */
                         ^~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:132:27: error: expected initializer before ‘__off64_t’
 __STD_TYPE __OFF64_T_TYPE __off64_t; /* Type of file sizes and offsets (LFS).  */
                           ^~~~~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from /usr/include/stdio.h:35:0,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/x86_64-linux-gnu/bits/types.h:135:27: error: expected initializer before ‘__clock_t’
 __STD_TYPE __CLOCK_T_TYPE __clock_t; /* Type of CPU usage counts.  */
                           ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:136:26: error: expected initializer before ‘__rlim_t’
 __STD_TYPE __RLIM_T_TYPE __rlim_t; /* Type for resource measurement.  */
                          ^~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:137:28: error: expected initializer before ‘__rlim64_t’
 __STD_TYPE __RLIM64_T_TYPE __rlim64_t; /* Type for resource measurement (LFS).  */
                            ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:138:24: error: expected initializer before ‘__id_t’
 __STD_TYPE __ID_T_TYPE __id_t;  /* General type for IDs.  */
                        ^~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:139:26: error: expected initializer before ‘__time_t’
 __STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch.  */
                          ^~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:140:30: error: expected initializer before ‘__useconds_t’
 __STD_TYPE __USECONDS_T_TYPE __useconds_t; /* Count of microseconds.  */
                              ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:141:31: error: expected initializer before ‘__suseconds_t’
 __STD_TYPE __SUSECONDS_T_TYPE __suseconds_t; /* Signed count of microseconds.  */
                               ^~~~~~~~~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from /usr/include/stdio.h:35:0,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/x86_64-linux-gnu/bits/types.h:153:29: error: expected initializer before ‘__blksize_t’
 __STD_TYPE __BLKSIZE_T_TYPE __blksize_t;
                             ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:158:28: error: expected initializer before ‘__blkcnt_t’
 __STD_TYPE __BLKCNT_T_TYPE __blkcnt_t;
                            ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:159:30: error: expected initializer before ‘__blkcnt64_t’
 __STD_TYPE __BLKCNT64_T_TYPE __blkcnt64_t;
                              ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:162:30: error: expected initializer before ‘__fsblkcnt_t’
 __STD_TYPE __FSBLKCNT_T_TYPE __fsblkcnt_t;
                              ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:163:32: error: expected initializer before ‘__fsblkcnt64_t’
 __STD_TYPE __FSBLKCNT64_T_TYPE __fsblkcnt64_t;
                                ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:166:30: error: expected initializer before ‘__fsfilcnt_t’
 __STD_TYPE __FSFILCNT_T_TYPE __fsfilcnt_t;
                              ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:167:32: error: expected initializer before ‘__fsfilcnt64_t’
 __STD_TYPE __FSFILCNT64_T_TYPE __fsfilcnt64_t;
                                ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:170:28: error: expected initializer before ‘__fsword_t’
 __STD_TYPE __FSWORD_T_TYPE __fsword_t;
                            ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:172:27: error: expected initializer before ‘__ssize_t’
 __STD_TYPE __SSIZE_T_TYPE __ssize_t; /* Type of a byte count, or error.  */
                           ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:175:33: error: expected initializer before ‘__syscall_slong_t’
 __STD_TYPE __SYSCALL_SLONG_TYPE __syscall_slong_t;
                                 ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:177:33: error: expected initializer before ‘__syscall_ulong_t’
 __STD_TYPE __SYSCALL_ULONG_TYPE __syscall_ulong_t;
                                 ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:181:9: error: ‘__off64_t’ does not name a type
 typedef __off64_t __loff_t; /* Type of file sizes and offsets (LFS).  */
         ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:182:9: error: ‘__quad_t’ does not name a type
 typedef __quad_t *__qaddr_t;
         ^~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:186:25: error: expected initializer before ‘__intptr_t’
 __STD_TYPE __SWORD_TYPE __intptr_t;
                         ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types.h:189:23: error: expected initializer before ‘__socklen_t’
 __STD_TYPE __U32_TYPE __socklen_t;
                       ^~~~~~~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: expected ‘;’ at end of member declaration
 #define int oops
             ^
In file included from /usr/include/_G_config.h:20:0,
                 from /usr/include/libio.h:31,
                 from /usr/include/stdio.h:74,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/wchar.h:88:19: error: ‘__wch’ does not name a type
     __WINT_TYPE__ __wch;
                   ^~~~~
In file included from /usr/include/libio.h:31:0,
                 from /usr/include/stdio.h:74,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/_G_config.h:23:3: error: ‘__off_t’ does not name a type
   __off_t __pos;
   ^~~~~~~
/usr/include/_G_config.h:28:3: error: ‘__off64_t’ does not name a type
   __off64_t __pos;
   ^~~~~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from /usr/include/stdio.h:74:0,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/libio.h:270:3: error: ‘__off_t’ does not name a type
   _IO_off_t _old_offset; /* This used to be _offset but it's too small.  */
   ^
/usr/include/libio.h:289:3: error: ‘__off64_t’ does not name a type
   _IO_off64_t _offset;
   ^
In file included from /usr/include/stdio.h:74:0,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/libio.h:302:3: error: ‘size_t’ does not name a type
   size_t __pad5;
   ^~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ was not declared in this scope
 #define int oops
             ^
In file included from /usr/include/stdio.h:74:0,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/libio.h:305:67: error: ‘size_t’ was not declared in this scope
   char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
                                                                   ^~~~~~
/usr/include/libio.h:333:9: error: ‘__ssize_t’ does not name a type
 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
         ^~~~~~~~~
/usr/include/libio.h:341:9: error: ‘__ssize_t’ does not name a type
 typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf,
         ^~~~~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from /usr/include/stdio.h:74:0,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/libio.h:358:9: error: ‘__io_read_fn’ does not name a type
 typedef __io_read_fn cookie_read_function_t;
         ^~~~~~~~~~~~
/usr/include/libio.h:359:9: error: ‘__io_write_fn’ does not name a type
 typedef __io_write_fn cookie_write_function_t;
         ^~~~~~~~~~~~~
/usr/include/libio.h:360:9: error: ‘__io_seek_fn’ does not name a type
 typedef __io_seek_fn cookie_seek_function_t;
         ^~~~~~~~~~~~
/usr/include/libio.h:361:9: error: ‘__io_close_fn’ does not name a type
 typedef __io_close_fn cookie_close_function_t;
         ^~~~~~~~~~~~~
/usr/include/libio.h:366:3: error: ‘__io_read_fn’ does not name a type
   __io_read_fn *read;  /* Read bytes.  */
   ^~~~~~~~~~~~
/usr/include/libio.h:367:3: error: ‘__io_write_fn’ does not name a type
   __io_write_fn *write;  /* Write bytes.  */
   ^~~~~~~~~~~~~
/usr/include/libio.h:368:3: error: ‘__io_seek_fn’ does not name a type
   __io_seek_fn *seek;  /* Seek/tell file position.  */
   ^~~~~~~~~~~~
/usr/include/libio.h:369:3: error: ‘__io_close_fn’ does not name a type
   __io_close_fn *close;  /* Close file.  */
   ^~~~~~~~~~~~~
prog.cpp:1:13: error: ‘oops’ has not been declared
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from /usr/include/stdio.h:74:0,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/libio.h:463:8: error: ‘__ssize_t’ does not name a type
 extern _IO_ssize_t _IO_padn (_IO_FILE *, int, _IO_ssize_t);
        ^
/usr/include/libio.h:464:8: error: ‘size_t’ does not name a type
 extern _IO_size_t _IO_sgetn (_IO_FILE *, void *, _IO_size_t);
        ^
/usr/include/libio.h:466:8: error: ‘__off64_t’ does not name a type
 extern _IO_off64_t _IO_seekoff (_IO_FILE *, _IO_off64_t, int, int);
        ^
/usr/include/libio.h:467:8: error: ‘__off64_t’ does not name a type
 extern _IO_off64_t _IO_seekpos (_IO_FILE *, _IO_off64_t, int);
        ^
In file included from /usr/include/c++/6/cstdio:42:0,
                 from prog.cpp:2:
/usr/include/stdio.h:90:9: error: ‘__off_t’ does not name a type
 typedef __off_t off_t;
         ^~~~~~~
/usr/include/stdio.h:97:9: error: ‘__off64_t’ does not name a type
 typedef __off64_t off64_t;
         ^~~~~~~~~
/usr/include/stdio.h:104:9: error: ‘__ssize_t’ does not name a type
 typedef __ssize_t ssize_t;
         ^~~~~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: warning: ‘fdopen’ initialized and declared ‘extern’
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ was not declared in this scope
In file included from /usr/include/c++/6/cstdio:42:0,
                 from prog.cpp:2:
/usr/include/stdio.h:308:32: error: expected primary-expression before ‘const’
 extern FILE *fdopen (int __fd, const char *__modes) __THROW __wur;
                                ^~~~~
/usr/include/stdio.h:308:51: error: expression list treated as compound expression in initializer [-fpermissive]
 extern FILE *fdopen (int __fd, const char *__modes) __THROW __wur;
                                                   ^
/usr/include/stdio.h:321:35: error: ‘size_t’ has not been declared
 extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
                                   ^~~~~~
/usr/include/stdio.h:327:47: error: ‘size_t’ has not been declared
 extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW __wur;
                                               ^~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from /usr/include/c++/6/cstdio:42:0,
                 from prog.cpp:2:
/usr/include/stdio.h:346:10: error: ‘size_t’ has not been declared
          size_t __size) __THROW;
          ^~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ has not been declared
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ has not been declared
 #define int oops
             ^
In file included from /usr/include/stdio.h:74:0,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/stdio.h:667:8: error: ‘__ssize_t’ does not name a type
 extern _IO_ssize_t __getdelim (char **__restrict __lineptr,
        ^
/usr/include/stdio.h:670:8: error: ‘__ssize_t’ does not name a type
 extern _IO_ssize_t getdelim (char **__restrict __lineptr,
        ^
/usr/include/stdio.h:680:8: error: ‘__ssize_t’ does not name a type
 extern _IO_ssize_t getline (char **__restrict __lineptr,
        ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from /usr/include/c++/6/cstdio:42:0,
                 from prog.cpp:2:
/usr/include/stdio.h:711:8: error: ‘size_t’ does not name a type
 extern size_t fread (void *__restrict __ptr, size_t __size,
        ^~~~~~
/usr/include/stdio.h:717:8: error: ‘size_t’ does not name a type
 extern size_t fwrite (const void *__restrict __ptr, size_t __size,
        ^~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from /usr/include/c++/6/cstdio:42:0,
                 from prog.cpp:2:
/usr/include/stdio.h:739:8: error: ‘size_t’ does not name a type
 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
        ^~~~~~
/usr/include/stdio.h:741:8: error: ‘size_t’ does not name a type
 extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
        ^~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from /usr/include/c++/6/cstdio:42:0,
                 from prog.cpp:2:
/usr/include/stdio.h:756:17: error: expected initializer before ‘ftell’
 extern long int ftell (FILE *__stream) __wur;
                 ^~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from /usr/include/c++/6/cstdio:42:0,
                 from prog.cpp:2:
/usr/include/stdio.h:780:8: error: ‘__off_t’ does not name a type
 extern __off_t ftello (FILE *__stream) __wur;
        ^~~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from /usr/include/c++/6/cstdio:42:0,
                 from prog.cpp:2:
/usr/include/stdio.h:821:8: error: ‘__off64_t’ does not name a type
 extern __off64_t ftello64 (FILE *__stream) __wur;
        ^~~~~~~~~
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from /usr/include/stdio.h:74:0,
                 from /usr/include/c++/6/cstdio:42,
                 from prog.cpp:2:
/usr/include/x86_64-linux-gnu/bits/stdio.h:114:16: error: ‘__ssize_t’ does not name a type
 __STDIO_INLINE _IO_ssize_t
                ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
prog.cpp:1:13: error: ‘oops’ does not name a type
 #define int oops
             ^
In file included from prog.cpp:2:0:
/usr/include/c++/6/cstdio:102:11: error: ‘::fclose’ has not been declared
   using ::fclose;
           ^~~~~~
/usr/include/c++/6/cstdio:103:11: error: ‘::feof’ has not been declared
   using ::feof;
           ^~~~
/usr/include/c++/6/cstdio:104:11: error: ‘::ferror’ has not been declared
   using ::ferror;
           ^~~~~~
/usr/include/c++/6/cstdio:105:11: error: ‘::fflush’ has not been declared
   using ::fflush;
           ^~~~~~
/usr/include/c++/6/cstdio:106:11: error: ‘::fgetc’ has not been declared
   using ::fgetc;
           ^~~~~
/usr/include/c++/6/cstdio:107:11: error: ‘::fgetpos’ has not been declared
   using ::fgetpos;
           ^~~~~~~
/usr/include/c++/6/cstdio:110:11: error: ‘::fprintf’ has not been declared
   using ::fprintf;
           ^~~~~~~
/usr/include/c++/6/cstdio:111:11: error: ‘::fputc’ has not been declared
   using ::fputc;
           ^~~~~
/usr/include/c++/6/cstdio:112:11: error: ‘::fputs’ has not been declared
   using ::fputs;
           ^~~~~
/usr/include/c++/6/cstdio:113:11: error: ‘::fread’ has not been declared
   using ::fread;
           ^~~~~
/usr/include/c++/6/cstdio:115:11: error: ‘::fscanf’ has not been declared
   using ::fscanf;
           ^~~~~~
/usr/include/c++/6/cstdio:116:11: error: ‘::fseek’ has not been declared
   using ::fseek;
           ^~~~~
/usr/include/c++/6/cstdio:117:11: error: ‘::fsetpos’ has not been declared
   using ::fsetpos;
           ^~~~~~~
/usr/include/c++/6/cstdio:118:11: error: ‘::ftell’ has not been declared
   using ::ftell;
           ^~~~~
/usr/include/c++/6/cstdio:119:11: error: ‘::fwrite’ has not been declared
   using ::fwrite;
           ^~~~~~
/usr/include/c++/6/cstdio:120:11: error: ‘::getc’ has not been declared
   using ::getc;
           ^~~~
/usr/include/c++/6/cstdio:121:11: error: ‘::getchar’ has not been declared
   using ::getchar;
           ^~~~~~~
/usr/include/c++/6/cstdio:127:11: error: ‘::printf’ has not been declared
   using ::printf;
           ^~~~~~
/usr/include/c++/6/cstdio:128:11: error: ‘::putc’ has not been declared
   using ::putc;
           ^~~~
/usr/include/c++/6/cstdio:129:11: error: ‘::putchar’ has not been declared
   using ::putchar;
           ^~~~~~~
/usr/include/c++/6/cstdio:130:11: error: ‘::puts’ has not been declared
   using ::puts;
           ^~~~
/usr/include/c++/6/cstdio:131:11: error: ‘::remove’ has not been declared
   using ::remove;
           ^~~~~~
/usr/include/c++/6/cstdio:132:11: error: ‘::rename’ has not been declared
   using ::rename;
           ^~~~~~
/usr/include/c++/6/cstdio:134:11: error: ‘::scanf’ has not been declared
   using ::scanf;
           ^~~~~
/usr/include/c++/6/cstdio:136:11: error: ‘::setvbuf’ has not been declared
   using ::setvbuf;
           ^~~~~~~
/usr/include/c++/6/cstdio:137:11: error: ‘::sprintf’ has not been declared
   using ::sprintf;
           ^~~~~~~
/usr/include/c++/6/cstdio:138:11: error: ‘::sscanf’ has not been declared
   using ::sscanf;
           ^~~~~~
/usr/include/c++/6/cstdio:143:11: error: ‘::ungetc’ has not been declared
   using ::ungetc;
           ^~~~~~
/usr/include/c++/6/cstdio:144:11: error: ‘::vfprintf’ has not been declared
   using ::vfprintf;
           ^~~~~~~~
/usr/include/c++/6/cstdio:145:11: error: ‘::vprintf’ has not been declared
   using ::vprintf;
           ^~~~~~~
/usr/include/c++/6/cstdio:146:11: error: ‘::vsprintf’ has not been declared
   using ::vsprintf;
           ^~~~~~~~
/usr/include/c++/6/cstdio:175:11: error: ‘::snprintf’ has not been declared
   using ::snprintf;
           ^~~~~~~~
/usr/include/c++/6/cstdio:176:11: error: ‘::vfscanf’ has not been declared
   using ::vfscanf;
           ^~~~~~~
/usr/include/c++/6/cstdio:177:11: error: ‘::vscanf’ has not been declared
   using ::vscanf;
           ^~~~~~
/usr/include/c++/6/cstdio:178:11: error: ‘::vsnprintf’ has not been declared
   using ::vsnprintf;
           ^~~~~~~~~
/usr/include/c++/6/cstdio:179:11: error: ‘::vsscanf’ has not been declared
   using ::vsscanf;
           ^~~~~~~
/usr/include/c++/6/cstdio:185:22: error: ‘__gnu_cxx::snprintf’ has not been declared
   using ::__gnu_cxx::snprintf;
                      ^~~~~~~~
/usr/include/c++/6/cstdio:186:22: error: ‘__gnu_cxx::vfscanf’ has not been declared
   using ::__gnu_cxx::vfscanf;
                      ^~~~~~~
/usr/include/c++/6/cstdio:187:22: error: ‘__gnu_cxx::vscanf’ has not been declared
   using ::__gnu_cxx::vscanf;
                      ^~~~~~
/usr/include/c++/6/cstdio:188:22: error: ‘__gnu_cxx::vsnprintf’ has not been declared
   using ::__gnu_cxx::vsnprintf;
                      ^~~~~~~~~
/usr/include/c++/6/cstdio:189:22: error: ‘__gnu_cxx::vsscanf’ has not been declared
   using ::__gnu_cxx::vsscanf;
                      ^~~~~~~
stdout
Standard output is empty