Author
anonymous
over 7 years ago
Language
Compiler
Options
Author
anonymous
over 7 years ago
$
prog.cc: In function 'int main()':
prog.cc:7:18: error: 'aligned_alloc' is not a member of 'std'
auto p3 = std::aligned_alloc(64, 100); // ERROR
^~~~~~~~~~~~~
prog.cc:7:18: note: suggested alternative: 'align_val_t'
auto p3 = std::aligned_alloc(64, 100); // ERROR
^~~~~~~~~~~~~
align_val_t
prog.cc:5:8: warning: unused variable 'p1' [-Wunused-variable]
auto p1 = std::malloc(100); // OK
^~
prog.cc:6:8: warning: unused variable 'p2' [-Wunused-variable]
auto p2 = aligned_alloc(64, 100); // OK
^~
Exit Code:
1