Bug#783127: [g++-5] Qt apps compile with g++-5 crashes

2015-04-22 Thread BogDan Vatra
Package: g++-5 Version: 5.1~rc1-1 Severity: important --- Please enter the report below this line. --- Large Qt apps (e.g. QtCreator) that are compiled with g++-5 crashes if Qt was compiled with g++-4.9. --- System information. --- Architecture: amd64 Kernel: Linux 3.16.0-4-amd64 Debian

Basic question about malloc

2015-04-22 Thread mudongliang
Hi, I'm looking for that whether the object allocated by malloc is the multiple of certain bytes! Or how does the malloc allocate dynamic memory ?? I does an experiment in my computer! #includestdio.h #includestdlib.h #define NUM 33 int main(int argc,const char *argv[]) { char *a,