• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gccxml / pygccxml / 377 / 2
82%
develop: 92%

Build:
Build:
LAST BUILD BRANCH: pythons
DEFAULT BRANCH: develop
Ran 23 Mar 2016 06:41PM UTC
Files 114
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Mar 2016 06:28PM UTC coverage: 80.352% (-0.05%) from 80.399%
377.2

push

travis-ci

iMichka
Fix unqualified integral const in default arguments for CastXML

CastXML, prior to XML output versin 1.137, didn't modify integral
constant names used in default arguments for functions, it simply used
the same text present in the source file. This causes compilation
failures in bindings generated by pyplusplus in case of code such as the
following:

	struct st
	{
		static int const DEFAULT = 0;
		void fun(int arg=DEFAULT);
	};

In this case, CastXML produced `DEFAULT` as the default value while
GCCXML qualifies the name and sets the default value to `st::DEFAULT`.

Consequently, pyplusplus refers to the default value as `DEFAULT`, which
fails compilation because the name needs to be fully qualified as
`st::DEFAULT`. This fix produces the desired qualified output from
pygccxml with both GCCXML and CastXML.

As of XML output version 1.137, CastXML now produces fully qualified
names for default arguments.

Change-Id: Ie22ae5e7e

Cherry-picked from the develop branch

8089 of 10067 relevant lines covered (80.35%)

0.8 hits per line

Source Files on job 377.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 377
  • Travis Job 377.2
  • 9dcc730a on github
  • Prev Job for on hotfix/v1.7.3 (#374.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc