@[email protected] to Programmer [email protected] • edit-21 month agoC++ani.socialimagemessage-square87fedilinkarrow-up1817arrow-down115file-text
arrow-up1802arrow-down1imageC++ani.social@[email protected] to Programmer [email protected] • edit-21 month agomessage-square87fedilinkfile-text
minus-square@[email protected]linkfedilink1•1 month agoIf you tell the Compiler to be careful and avoid writing c code c++ does not segfault. This is a user error. You can technically even write Assembler code and compile with gpp.
minus-square@[email protected]linkfedilinkEnglish7•1 month agoDoes it count as user error if the user has to micromanage the compiler?
minus-square@[email protected]linkfedilink1•1 month agoYes. Unless you have a really good reasons there are safe and portable versions you should use instead.
If you tell the Compiler to be careful and avoid writing c code c++ does not segfault. This is a user error.
You can technically even write Assembler code and compile with gpp.
Does it count as user error if the user has to micromanage the compiler?
Yes. Unless you have a really good reasons there are safe and portable versions you should use instead.