Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
65907f07
Commit
65907f07
authored
Sep 14, 2014
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
portability fixes
parent
8ea91a9b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
55 additions
and
13 deletions
+55
-13
ChangeLog
ChangeLog
+3
-0
asn1c/tests/Makefile.am
asn1c/tests/Makefile.am
+1
-1
asn1c/tests/Makefile.in
asn1c/tests/Makefile.in
+1
-1
configure
configure
+38
-2
configure.ac
configure.ac
+12
-9
No files found.
ChangeLog
View file @
65907f07
0.9.??:
* Build structure fixes for portability.
0.9.26: 2014-Sep-11
* Updated asn1c-usage.pdf.
* Made -fskeletons-copy a default option; removed cmdline option.
...
...
asn1c/tests/Makefile.am
View file @
65907f07
dist_check_SCRIPTS
=
check-assembly.sh
TESTS_ENVIRONMENT
=
CC
=
"
${CC}
"
CFLAGS
=
"
${TESTSUITE_CFLAGS}
${CFLAGS}
-Wno-error=unused-variable
"
CXXFLAGS
=
"
${CXXFLAGS}
"
srcdir
=
${srcdir}
top_srcdir
=
${top_srcdir}
top_builddir
=
${top_builddir}
${srcdir}
/check-assembly.sh
TESTS_ENVIRONMENT
=
CC
=
"
${CC}
"
CFLAGS
=
"
${TESTSUITE_CFLAGS}
${CFLAGS}
"
CXXFLAGS
=
"
${CXXFLAGS}
"
srcdir
=
${srcdir}
top_srcdir
=
${top_srcdir}
top_builddir
=
${top_builddir}
${srcdir}
/check-assembly.sh
TESTS
=
${srcdir}
/check-src/check-
*
.c
if
TEST_64BIT
...
...
asn1c/tests/Makefile.in
View file @
65907f07
...
...
@@ -175,7 +175,7 @@ top_build_prefix = @top_build_prefix@
top_builddir
=
@top_builddir@
top_srcdir
=
@top_srcdir@
dist_check_SCRIPTS
=
check-assembly.sh
TESTS_ENVIRONMENT
=
CC
=
"
${CC}
"
CFLAGS
=
"
${TESTSUITE_CFLAGS}
${CFLAGS}
-Wno-error=unused-variable
"
CXXFLAGS
=
"
${CXXFLAGS}
"
srcdir
=
${srcdir}
top_srcdir
=
${top_srcdir}
top_builddir
=
${top_builddir}
${srcdir}
/check-assembly.sh
TESTS_ENVIRONMENT
=
CC
=
"
${CC}
"
CFLAGS
=
"
${TESTSUITE_CFLAGS}
${CFLAGS}
"
CXXFLAGS
=
"
${CXXFLAGS}
"
srcdir
=
${srcdir}
top_srcdir
=
${top_srcdir}
top_builddir
=
${top_builddir}
${srcdir}
/check-assembly.sh
TESTS
=
${srcdir}
/check-src/check-
*
.c
$(am__append_1)
EXTRA_DIST
=
\
check-src/
\
...
...
configure
View file @
65907f07
...
...
@@ -12426,8 +12426,6 @@ if test x$enable_werror = xyes; then
ADD_CFLAGS
=
"-Werror -W -Wpointer-arith"
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts -Wall"
>
&5
$as_echo_n
"checking whether C compiler accepts -Wall... "
>
&6
;
}
if
${
ax_cv_check_cflags___Wall
+
:
}
false
;
then
:
...
...
@@ -12709,6 +12707,44 @@ else
:
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts -Wno-error=unused-variable"
>
&5
$as_echo_n
"checking whether C compiler accepts -Wno-error=unused-variable... "
>
&6
;
}
if
${
ax_cv_check_cflags___Wno_error_unused_variable
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ax_check_save_flags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-Wno-error=unused-variable"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
ax_cv_check_cflags___Wno_error_unused_variable
=
yes
else
ax_cv_check_cflags___Wno_error_unused_variable
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
CFLAGS
=
$ax_check_save_flags
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ax_cv_check_cflags___Wno_error_unused_variable
"
>
&5
$as_echo
"
$ax_cv_check_cflags___Wno_error_unused_variable
"
>
&6
;
}
if
test
x
"
$ax_cv_check_cflags___Wno_error_unused_variable
"
=
xyes
;
then
:
TESTSUITE_CFLAGS
=
"
$TESTSUITE_CFLAGS
-Wno-error=unused-variable"
else
:
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for ANSI C header files"
>
&5
$as_echo_n
"checking for ANSI C header files... "
>
&6
;
}
...
...
configure.ac
View file @
65907f07
AC_INIT([asn1c], [0.9.2
6
], [vlm@lionet.info])
AC_INIT([asn1c], [0.9.2
7
], [vlm@lionet.info])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])
...
...
@@ -33,25 +33,28 @@ if test x$enable_werror = xyes; then
TESTSUITE_CFLAGS="-Werror -W -Wpointer-arith"
ADD_CFLAGS="-Werror -W -Wpointer-arith"
fi
AC_SUBST(ADD_CFLAGS)
AC_SUBST(TESTSUITE_CFLAGS)
AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS="$CFLAGS -Wall"])
AX_CHECK_COMPILE_FLAG([-Wcast-qual], [CFLAGS="$CFLAGS -Wcast-qual"])
AX_CHECK_COMPILE_FLAG([-Wchar-subscripts],
[CFLAGS="$CFLAGS -Wchar-subscripts"])
[CFLAGS="$CFLAGS -Wchar-subscripts"])
AX_CHECK_COMPILE_FLAG([-Wmissing-prototypes],
[CFLAGS="$CFLAGS -Wmissing-prototypes"])
[CFLAGS="$CFLAGS -Wmissing-prototypes"])
AX_CHECK_COMPILE_FLAG([-Wmissing-declarations],
[CFLAGS="$CFLAGS -Wmissing-declarations"])
[CFLAGS="$CFLAGS -Wmissing-declarations"])
dnl There are legitimate uses for these features, disable warnings/errors.
AX_CHECK_COMPILE_FLAG([-Wno-error=cast-align],
[CFLAGS="$CFLAGS -Wno-error=cast-align"])
[CFLAGS="$CFLAGS -Wno-error=cast-align"])
AX_CHECK_COMPILE_FLAG([-Wno-error=visibility],
[CFLAGS="$CFLAGS -Wno-error=visibility"])
[CFLAGS="$CFLAGS -Wno-error=visibility"])
AX_CHECK_COMPILE_FLAG([-Wno-error=parentheses-equality],
[CFLAGS="$CFLAGS -Wno-error=parentheses-equality"])
[CFLAGS="$CFLAGS -Wno-error=parentheses-equality"])
AX_CHECK_COMPILE_FLAG([-Wno-error=unused-variable],
[TESTSUITE_CFLAGS="$TESTSUITE_CFLAGS -Wno-error=unused-variable"])
AC_SUBST(ADD_CFLAGS)
AC_SUBST(TESTSUITE_CFLAGS)
dnl Checks for header files.
AC_HEADER_STDC
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment