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

TokTok / toxcore / 520
74%

Build:
DEFAULT BRANCH: master
Ran 05 Sep 2016 10:23PM UTC
Jobs 1
Files 85
Run time 48min
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

pending completion
520

Pull #96

travis-ci

web-flow
Improve C standard compliance.

- Don't cast between object and function pointers.
- Use standard compliant `__VA_ARGS__` in macros.
- Add explicit `__extension__` on unnamed union in struct (it's a GNU
  extension).
- Remove ; after function definitions.
- Replace `const T foo = 3;` for integral types `T` with `enum { foo = 3 };`.
  Folding integral constants like that as compile time constants is a GNU
  extension. Arrays allocated with `foo` as dimension are VLAs on strictly
  compliant C99 compilers.
- Replace empty initialiser list `{}` with zero-initialiser-list `{0}`.
  The former is a GNU extension meaning the latter.
- Cast `T*` (where `T != void`) to `void *` in format arguments. While any
  object pointer can be implicitly converted to and from `void *`, this
  conversion does not happen in variadic function calls.
- Replace arithmetic on `void *` with arithmetic on `char *`. The former
  is non-compliant.
- Replace non-`int`-derived types (like `uint16_t`, which is
  `short`-derived) in bit fields with `int`-derived types. Using any type
  other than `int` or `unsigned int` (or any of their aliases) in bit
  fields is a GNU extension.
Pull Request #96: Improve C standard compliance.

8540 of 11750 relevant lines covered (72.68%)

733159.76 hits per line

Jobs
ID Job ID Ran Files Coverage
2 520.2 (BUILD=toxcore ENV=linux) 05 Sep 2016 11:11PM UTC 0
72.68
Travis Job 520.2
Source Files on build 520
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #520
  • Pull Request #96
  • PR Base - master (#516)
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