[Bug 944572] Re: Infinite loop printing "warning: missing braces around initializer" in g++

Michael Collison michael.collison at linaro.org
Fri Jun 13 23:41:25 UTC 2014


Fixed in linaro gcc 4.8.

** Changed in: gcc-linaro
       Status: Confirmed => Fix Released

** Changed in: gcc-linaro
     Assignee: (unassigned) => Michael Collison (michael-collison)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.6 in Ubuntu.
https://bugs.launchpad.net/bugs/944572

Title:
  Infinite loop printing "warning: missing braces around initializer" in
  g++

Status in The GNU Compiler Collection:
  Fix Released
Status in Linaro GCC:
  Fix Released
Status in “gcc-4.6” package in Ubuntu:
  Confirmed

Bug description:
  When compiling the attached malformed file with g++ -Wall, an infinite
  loop is entered that repeatedly prints the following message:

  g++fail.cc:3:25: warning: missing braces around initializer for ‘char
  [0]’ [-Wmissing-braces]

  This affects all versions of gcc installed on the machine: 4.4, 4.5,
  and 4.6.  The expected behavior is that the warning is printed once,
  then g++ exits (clang behaves as expected).

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: g++-4.6 4.6.1-9ubuntu3
  ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
  Uname: Linux 3.0.0-16-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Thu Mar  1 22:40:39 2012
  ExecutablePath: /usr/bin/g++-4.6
  InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  SourcePackage: gcc-4.6
  UpgradeStatus: Upgraded to oneiric on 2011-11-09 (114 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/944572/+subscriptions



More information about the foundations-bugs mailing list