Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jens Gustedt
P99 - macros and functions for C99
Commits
0981a7e0
Commit
0981a7e0
authored
Apr 28, 2014
by
Jens Gustedt
Browse files
icc string functions sometimes access out of boundes with sse
instructions
parent
71687ccc
Changes
1
Hide whitespace changes
Inline
Side-by-side
p99/p99_map.h
View file @
0981a7e0
...
...
@@ -169,7 +169,7 @@ P00_DOCUMENT_PERMITTED_ARGUMENT(P99_JOIN, 2)
P00_DOCUMENT_MULTIPLE_ARGUMENT
(
P99_STRDUP
,
0
)
P00_DOCUMENT_MULTIPLE_ARGUMENT
(
P99_STRDUP
,
1
)
P00_DOCUMENT_MULTIPLE_ARGUMENT
(
P99_STRDUP
,
2
)
#define P99_STRDUP(...) P99_STRCATS(
memset(m
alloc(P99_STRLENS(__VA_ARGS__) + 1
), 0
, 1), __VA_ARGS__)
#define P99_STRDUP(...) P99_STRCATS(
c
alloc(P99_STRLENS(__VA_ARGS__) + 1
6
, 1), __VA_ARGS__)
/**
** @brief Produce a list of length @a N that has the contents of 0,
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment