Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Frida
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coenen, Joachim
Frida
Commits
ace2b29c
Commit
ace2b29c
authored
11 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
little bug found thanks to first Clang compilation;
linking under CLang given up
parent
0351fb58
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
pub/CHANGELOG
+5
-0
5 additions, 0 deletions
pub/CHANGELOG
pub/configure
+81
-75
81 additions, 75 deletions
pub/configure
pub/configure.ac
+7
-2
7 additions, 2 deletions
pub/configure.ac
pub/src/manip.cpp
+1
-1
1 addition, 1 deletion
pub/src/manip.cpp
pub/src/xax_lex.lpp
+1
-0
1 addition, 0 deletions
pub/src/xax_lex.lpp
with
95 additions
and
78 deletions
pub/CHANGELOG
+
5
−
0
View file @
ace2b29c
Release
- bugfix:
- little bug found thanks to first Clang compilation
Release 2.1.8f of 23jan14:
- bugfix:
...
...
This diff is collapsed.
Click to expand it.
pub/configure
+
81
−
75
View file @
ace2b29c
...
...
@@ -2865,6 +2865,81 @@ fi
## Select compiler and preprocessors ##
################################################################################
# AC_PROG_CXX(["clang -D__float128=void -stdlib=libc++" g++])
# clang:
# * -D__float128=void is workaround,
# see http://llvm.org/bugs/show_bug.cgi?id=13530#c3
# * linking with libc++ and libc++abi doesn't work
# * first convert to CMake ??
ac_ext
=
cpp
ac_cpp
=
'$CXXCPP $CPPFLAGS'
ac_compile
=
'$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link
=
'$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu
=
$ac_cv_cxx_compiler_gnu
DEPDIR
=
"
${
am__leading_dot
}
deps"
ac_config_commands
=
"
$ac_config_commands
depfiles"
am_make
=
${
MAKE
-make
}
cat
>
confinc
<<
'
END
'
am__doit:
@echo this is the am__doit target
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for style of include used by
$am_make
"
>
&5
$as_echo_n
"checking for style of include used by
$am_make
... "
>
&6
;
}
am__include
=
"#"
am__quote
=
_am_result
=
none
# First try GNU make style include.
echo
"include confinc"
>
confmf
# Ignore all kinds of additional output from 'make'.
case
`
$am_make
-s
-f
confmf 2> /dev/null
`
in
#(
*
the
\
am__doit
\
target
*
)
am__include
=
include
am__quote
=
_am_result
=
GNU
;;
esac
# Now try BSD make style include.
if
test
"
$am__include
"
=
"#"
;
then
echo
'.include "confinc"'
>
confmf
case
`
$am_make
-s
-f
confmf 2> /dev/null
`
in
#(
*
the
\
am__doit
\
target
*
)
am__include
=
.include
am__quote
=
"
\"
"
_am_result
=
BSD
;;
esac
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$_am_result
"
>
&5
$as_echo
"
$_am_result
"
>
&6
;
}
rm
-f
confinc confmf
# Check whether --enable-dependency-tracking was given.
if
test
"
${
enable_dependency_tracking
+set
}
"
=
set
;
then
:
enableval
=
$enable_dependency_tracking
;
fi
if
test
"x
$enable_dependency_tracking
"
!=
xno
;
then
am_depcomp
=
"
$ac_aux_dir
/depcomp"
AMDEPBACKSLASH
=
'\'
am__nodep
=
'_no'
fi
if
test
"x
$enable_dependency_tracking
"
!=
xno
;
then
AMDEP_TRUE
=
AMDEP_FALSE
=
'#'
else
AMDEP_TRUE
=
'#'
AMDEP_FALSE
=
fi
ac_ext
=
cpp
ac_cpp
=
'$CXXCPP $CPPFLAGS'
ac_compile
=
'$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
...
...
@@ -3366,74 +3441,11 @@ else
CXXFLAGS
=
fi
fi
ac_ext
=
c
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link
=
'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu
=
$ac_cv_c_compiler_gnu
DEPDIR
=
"
${
am__leading_dot
}
deps"
ac_config_commands
=
"
$ac_config_commands
depfiles"
am_make
=
${
MAKE
-make
}
cat
>
confinc
<<
'
END
'
am__doit:
@echo this is the am__doit target
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for style of include used by
$am_make
"
>
&5
$as_echo_n
"checking for style of include used by
$am_make
... "
>
&6
;
}
am__include
=
"#"
am__quote
=
_am_result
=
none
# First try GNU make style include.
echo
"include confinc"
>
confmf
# Ignore all kinds of additional output from 'make'.
case
`
$am_make
-s
-f
confmf 2> /dev/null
`
in
#(
*
the
\
am__doit
\
target
*
)
am__include
=
include
am__quote
=
_am_result
=
GNU
;;
esac
# Now try BSD make style include.
if
test
"
$am__include
"
=
"#"
;
then
echo
'.include "confinc"'
>
confmf
case
`
$am_make
-s
-f
confmf 2> /dev/null
`
in
#(
*
the
\
am__doit
\
target
*
)
am__include
=
.include
am__quote
=
"
\"
"
_am_result
=
BSD
;;
esac
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$_am_result
"
>
&5
$as_echo
"
$_am_result
"
>
&6
;
}
rm
-f
confinc confmf
# Check whether --enable-dependency-tracking was given.
if
test
"
${
enable_dependency_tracking
+set
}
"
=
set
;
then
:
enableval
=
$enable_dependency_tracking
;
fi
if
test
"x
$enable_dependency_tracking
"
!=
xno
;
then
am_depcomp
=
"
$ac_aux_dir
/depcomp"
AMDEPBACKSLASH
=
'\'
am__nodep
=
'_no'
fi
if
test
"x
$enable_dependency_tracking
"
!=
xno
;
then
AMDEP_TRUE
=
AMDEP_FALSE
=
'#'
else
AMDEP_TRUE
=
'#'
AMDEP_FALSE
=
fi
ac_ext
=
cpp
ac_cpp
=
'$CXXCPP $CPPFLAGS'
ac_compile
=
'$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link
=
'$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu
=
$ac_cv_cxx_compiler_gnu
depcc
=
"
$CXX
"
am_compiler_list
=
...
...
@@ -3563,12 +3575,6 @@ else
fi
ac_ext
=
cpp
ac_cpp
=
'$CXXCPP $CPPFLAGS'
ac_compile
=
'$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link
=
'$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu
=
$ac_cv_cxx_compiler_gnu
ax_cxx_compile_cxx11_required
=
truednl
ac_ext
=
cpp
...
...
@@ -3740,7 +3746,7 @@ $as_echo "#define HAVE_CXX11 1" >>confdefs.h
fi
# provided in directory m4
AM_CXXFLAGS
=
"-g -pedantic -Wall -Wno-sign-compare -Wno-unused-result -Werror"
AM_CXXFLAGS
=
"-g -pedantic -Wall -Wno-sign-compare -Wno-unused-result
-Wno-parentheses
-Werror"
# for valgrind --leak-check=full frida, use -O0 -fno-inline
...
...
This diff is collapsed.
Click to expand it.
pub/configure.ac
+
7
−
2
View file @
ace2b29c
...
...
@@ -23,10 +23,15 @@ AM_MAINTAINER_MODE([disable]) # work around rebuild rules
## Select compiler and preprocessors ##
################################################################################
AC_PROG_CXX
# AC_PROG_CXX(["clang -D__float128=void -stdlib=libc++" g++])
# clang:
# * -D__float128=void is workaround,
# see http://llvm.org/bugs/show_bug.cgi?id=13530#c3
# * linking with libc++ and libc++abi doesn't work
# * first convert to CMake ??
AC_LANG(C++)
AX_CXX_COMPILE_STDCXX_11 # provided in directory m4
AC_SUBST(AM_CXXFLAGS,"-g -pedantic -Wall -Wno-sign-compare -Wno-unused-result -Werror")
AC_SUBST(AM_CXXFLAGS,"-g -pedantic -Wall -Wno-sign-compare -Wno-unused-result
-Wno-parentheses
-Werror")
# for valgrind --leak-check=full frida, use -O0 -fno-inline
# source files that use -D settings must #include "../config.h"
...
...
This diff is collapsed.
Click to expand it.
pub/src/manip.cpp
+
1
−
1
View file @
ace2b29c
...
...
@@ -770,7 +770,7 @@ void NManip::ZExchange()
num2
=
iask
(
"exchange with coordinate"
);
if
(
num2
>=
nzmax
)
throw
"no more than "
+
S
(
nzmax
)
+
" z coordinates"
;
else
if
(
num1
==
num
1
)
else
if
(
num1
==
num
2
)
throw
"nothing to exchange"
;
mod
=
'x'
;
com
=
"exchanged z coordinates "
+
S
(
num1
)
+
" and "
+
S
(
num2
);
...
...
This diff is collapsed.
Click to expand it.
pub/src/xax_lex.lpp
+
1
−
0
View file @
ace2b29c
...
...
@@ -34,6 +34,7 @@ struct xaxtype {
PRgr rgr;
};
#define YYSTYPE xaxtype
#define YY_NO_INPUT 1
#define YY_DECL int xaxlex(YYSTYPE *xaxlval)
%}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment