95 lines
4.2 KiB
Plaintext
95 lines
4.2 KiB
Plaintext
= Host-specific information ====================================================
|
|
$> hostname; uname -msr
|
|
e1r1p11.42.fr
|
|
Darwin 16.7.0 x86_64
|
|
$> date
|
|
Sun Apr 15 21:06:25 CEST 2018
|
|
$> gcc --version
|
|
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
|
|
Apple LLVM version 9.0.0 (clang-900.0.39.2)
|
|
Target: x86_64-apple-darwin16.7.0
|
|
Thread model: posix
|
|
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
|
|
$> clang --version
|
|
Apple LLVM version 9.0.0 (clang-900.0.39.2)
|
|
Target: x86_64-apple-darwin16.7.0
|
|
Thread model: posix
|
|
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
|
|
|
|
= User files collection ========================================================
|
|
Collecting user files from Vogsphere
|
|
Repository URL: auto-exam/2018/c-exam-alone-in-the-dark-beginner/practice-exam_20180415/tmaze
|
|
|
|
= Git history ==================================================================
|
|
$> git -C /var/folders/cn/w8pk5pms1qj2tcpx8z2zvlmc0000gq/T/tmp220vQZ/user log --pretty='%H - %an, %ad : %s'
|
|
4f0581806228b31ae5df41cf7777e822056401d8 - Tanguy MAZE, Sun Apr 15 21:06:15 2018 +0200 : ft_itoa
|
|
6d5a04375cefa27e521dd4713b33a37e0ce2b579 - Tanguy MAZE, Sun Apr 15 21:01:39 2018 +0200 : ft_itoa_base
|
|
c3407605045e34e5ec46745468c80ed637c04ddc - Tanguy MAZE, Sun Apr 15 20:12:52 2018 +0200 : ft_atoi_base
|
|
6d83726a6b82be8915fca3fc254d258ed7090e88 - Tanguy MAZE, Sun Apr 15 19:21:05 2018 +0200 : last_word
|
|
6cbf3dea3a97b714b5a7e3503b16758fa4ca53ae - Tanguy MAZE, Sun Apr 15 19:02:40 2018 +0200 : rotone
|
|
7e6a238b497dc094b3da7b312c9947f083762a0b - Tanguy MAZE, Sun Apr 15 18:53:13 2018 +0200 : aff_a
|
|
|
|
= Collected files ==========================================
|
|
$> ls -lAR /var/folders/cn/w8pk5pms1qj2tcpx8z2zvlmc0000gq/T/tmp220vQZ/user
|
|
total 8
|
|
-rw-r--r-- 1 deepthought deepthought 1515 Apr 15 21:06 __GIT_HISTORY
|
|
drwxr-xr-x 3 deepthought deepthought 102 Apr 15 21:06 aff_a
|
|
drwxr-xr-x 3 deepthought deepthought 102 Apr 15 21:06 ft_atoi_base
|
|
drwxr-xr-x 3 deepthought deepthought 102 Apr 15 21:06 ft_itoa
|
|
drwxr-xr-x 3 deepthought deepthought 102 Apr 15 21:06 ft_itoa_base
|
|
drwxr-xr-x 3 deepthought deepthought 102 Apr 15 21:06 last_word
|
|
drwxr-xr-x 3 deepthought deepthought 102 Apr 15 21:06 rotone
|
|
|
|
/var/folders/cn/w8pk5pms1qj2tcpx8z2zvlmc0000gq/T/tmp220vQZ/user/aff_a:
|
|
total 8
|
|
-rw-r--r-- 1 deepthought deepthought 1173 Apr 15 21:06 aff_a.c
|
|
|
|
/var/folders/cn/w8pk5pms1qj2tcpx8z2zvlmc0000gq/T/tmp220vQZ/user/ft_atoi_base:
|
|
total 8
|
|
-rw-r--r-- 1 deepthought deepthought 1788 Apr 15 21:06 ft_atoi_base.c
|
|
|
|
/var/folders/cn/w8pk5pms1qj2tcpx8z2zvlmc0000gq/T/tmp220vQZ/user/ft_itoa:
|
|
total 8
|
|
-rw-r--r-- 1 deepthought deepthought 1480 Apr 15 21:06 ft_itoa.c
|
|
|
|
/var/folders/cn/w8pk5pms1qj2tcpx8z2zvlmc0000gq/T/tmp220vQZ/user/ft_itoa_base:
|
|
total 8
|
|
-rw-r--r-- 1 deepthought deepthought 1664 Apr 15 21:06 ft_itoa_base.c
|
|
|
|
/var/folders/cn/w8pk5pms1qj2tcpx8z2zvlmc0000gq/T/tmp220vQZ/user/last_word:
|
|
total 8
|
|
-rw-r--r-- 1 deepthought deepthought 1463 Apr 15 21:06 last_word.c
|
|
|
|
/var/folders/cn/w8pk5pms1qj2tcpx8z2zvlmc0000gq/T/tmp220vQZ/user/rotone:
|
|
total 8
|
|
-rw-r--r-- 1 deepthought deepthought 1276 Apr 15 21:06 rotone.c
|
|
|
|
= ft_itoa ======================================================================
|
|
$> clang -Wextra -Wall -Werror main.c ft_itoa.c -o user_exe
|
|
ft_itoa.c:30:14: error: use of undeclared identifier 'value'
|
|
nb = ft_abs(value);
|
|
^
|
|
ft_itoa.c:36:9: error: use of undeclared identifier 'base'; did you mean 'else'?
|
|
div /= base;
|
|
^~~~
|
|
else
|
|
ft_itoa.c:36:9: error: expected expression
|
|
ft_itoa.c:37:18: error: use of undeclared identifier 'value'
|
|
if (div == 1 || value < 0)
|
|
^
|
|
ft_itoa.c:43:6: error: use of undeclared identifier 'value'
|
|
if (value < 0 && ++i)
|
|
^
|
|
ft_itoa.c:45:6: error: use of undeclared identifier 'value'
|
|
if (value == 0)
|
|
^
|
|
ft_itoa.c:20:20: error: unused parameter 'nbr' [-Werror,-Wunused-parameter]
|
|
char *ft_itoa(int nbr)
|
|
^
|
|
7 errors generated.
|
|
|
|
Could not compile 'user_exe'
|
|
Grade: 0
|
|
|
|
= Final grade: 0 ===============================================================
|