LWN.net Logo

Object-oriented design patterns in the kernel, part 2

Object-oriented design patterns in the kernel, part 2

Posted Jun 8, 2011 15:15 UTC (Wed) by etienne (subscriber, #25256)
In reply to: Object-oriented design patterns in the kernel, part 2 by cesarb
Parent article: Object-oriented design patterns in the kernel, part 2

For this GCC version:
$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

I get no warnings:
$ gcc -Wall -Wextra -pedantic -Wvla -std=c99 -O2 -c tmp.c
$

But I never use this construct and I already have my own list of bugs for GCC in bugzillia.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds