<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div></div>
<p dir="auto">Adding <code>--enable=information</code> and gives the following warning for most of our files in <code>lib/</code>:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">noValidConfiguration:lib/algorithms/cert_types.c:0,information,This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.</span></code></pre>
<p dir="auto">Adding -v prints a lot stuff, mainly saying that cppcheck has a problem with <code>gl/c-ctype.h</code>.</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">The tested configurations have these preprocessor errors:\012HAVE_CONFIG_H=1 : [gl/c-ctype.h:78] #error "Only ASCII and EBCDIC are supported"</span></code></pre>
<p dir="auto">Setting <code># define C_CTYPE_ASCII 1</code> hard-coded in <code>gl/c-ctype.h</code> (removing the #if check) seems to work out. Though cppcheck is extremely slow...</p>
<p dir="auto">BTW, in <code>gitlab-ci.yml</code> the cppcheck option <code>-Ilib/include</code> should be <code>-Ilib/includes</code>.</p>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/705">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/4a9fdb32d369d3ff2cf62289d4bca989/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/issues/705"}}</script>
</p>
</div>
</body>
</html>