Answered step by step
Verified Expert Solution
Question
1 Approved Answer
m . c: In function execArgsPiped : m . c: 1 0 1 : 1 8 : warning: passing argument 1 of execvp makes pointer
mc: In function execArgsPiped: mc::: warning: passing argument of execvp makes pointer from integer without a cast Wintconversion if execvpparsed parsed ~~~~~~~~ char In file included from mc:: usrincludeunistdh::: note: expected const char but argument is of type char extern int execvp const char file, char const argv ~~~~~~~~~~~~~~~~~ mc::: warning: passing argument of execvp from incompatible pointer type Wincompatiblepointertypes if execvpparsed parsed ~~~~~ char In file included from mc:: usrincludeunistdh::: note: expected char const but argument is of type char extern int execvp const char file, char const argv ~~~~~~~~~~~~~~~~~~~ mc::: warning: passing argument of execvp makes pointer from integer without a cast Wintconversion if execvpparsedpipe parsedpipe ~~~~~~~~~~~~ char In file included from mc:: usrincludeunistdh::: note: expected const char but argument is of type char extern int execvp const char file, char const argv ~~~~~~~~~~~~~~~~~ mc::: warning: passing argument of execvp from incompatible pointer type Wincompatiblepointertypes if execvpparsedpipe parsedpipe ~~~~~~~~~ char In file included from mc:: usrincludeunistdh::: note: expected char const but argument is of type char extern int execvp const char file, char const argv ~~~~~~~~~~~~~~~~~~~ mc: In function parsePipe: mc::: warning: passing argument of strsep from incompatible pointer type Wincompatiblepointertypes strpipedi strsep&str; ~~~ char In file included from mc:: usrincludestringh::: note: expected char restrict but argument is of type char extern char strsep char restrict stringp, ~~~~~ mc::: warning: assignment to char from char makes integer from pointer without a cast Wintconversion strpipedi strsep&str; mc::: warning: comparison between pointer and integer if strpipedi NULL ~ mc::: warning: comparison between pointer and integer if strpiped NULL ~ mc: In function parseSpace: mc::: warning: passing argument of strsep from incompatible pointer type Wincompatiblepointertypes parsedi strsep&str; ~~~ char In file included from mc:: usrincludestringh::: note: expected char restrict but argument is of type char extern char strsep char restrict stringp, ~~~~~ mc::: warning: assignment to char from char makes integer from pointer without a cast Wintconversion parsedi strsep&str; mc::: warning: comparison between pointer and integer if parsedi NULL ~ mc::: warning: passing argument of strlen makes pointer from integer without a cast Wintconversion if strlenparsedi ~~~~~~~~ char In file included from mc:: usrincludestringh::: note: expected const char but argument is of type char extern sizet strlen const char s ~~~~~~~~~~~~~~ mc: In function processString: mc::: warning: passing argument of parsePipe from incompatible pointer type Wincompatiblepointertypes piped parsePipestr strpiped; ~~~~~~~ char mc::: note: expected char but argument is of type char int parsePipechar str char strpiped ~~~~~~~~~~~~~ m
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started
mc: In function execArgsPiped:
mc::: warning: passing argument of execvp makes pointer from integer without a cast Wintconversion
if execvpparsed parsed
~~~~~~~~
char
In file included from mc::
usrincludeunistdh::: note: expected const char but argument is of type char
extern int execvp const char file, char const argv
~~~~~~~~~~~~~~~~~
mc::: warning: passing argument of execvp from incompatible pointer type Wincompatiblepointertypes
if execvpparsed parsed
~~~~~
char
In file included from mc::
usrincludeunistdh::: note: expected char const but argument is of type char
extern int execvp const char file, char const argv
~~~~~~~~~~~~~~~~~~~
mc::: warning: passing argument of execvp makes pointer from integer without a cast Wintconversion
if execvpparsedpipe parsedpipe
~~~~~~~~~~~~
char
In file included from mc::
usrincludeunistdh::: note: expected const char but argument is of type char
extern int execvp const char file, char const argv
~~~~~~~~~~~~~~~~~
mc::: warning: passing argument of execvp from incompatible pointer type Wincompatiblepointertypes
if execvpparsedpipe parsedpipe
~~~~~~~~~
char
In file included from mc::
usrincludeunistdh::: note: expected char const but argument is of type char
extern int execvp const char file, char const argv
~~~~~~~~~~~~~~~~~~~
mc: In function parsePipe:
mc::: warning: passing argument of strsep from incompatible pointer type Wincompatiblepointertypes
strpipedi strsep&str;
~~~
char
In file included from mc::
usrincludestringh::: note: expected char restrict but argument is of type char
extern char strsep char restrict stringp,
~~~~~
mc::: warning: assignment to char from char makes integer from pointer without a cast Wintconversion
strpipedi strsep&str;
mc::: warning: comparison between pointer and integer
if strpipedi NULL
~
mc::: warning: comparison between pointer and integer
if strpiped NULL
~
mc: In function parseSpace:
mc::: warning: passing argument of strsep from incompatible pointer type Wincompatiblepointertypes
parsedi strsep&str;
~~~
char
In file included from mc::
usrincludestringh::: note: expected char restrict but argument is of type char
extern char strsep char restrict stringp,
~~~~~
mc::: warning: assignment to char from char makes integer from pointer without a cast Wintconversion
parsedi strsep&str;
mc::: warning: comparison between pointer and integer
if parsedi NULL
~
mc::: warning: passing argument of strlen makes pointer from integer without a cast Wintconversion
if strlenparsedi
~~~~~~~~
char
In file included from mc::
usrincludestringh::: note: expected const char but argument is of type char
extern sizet strlen const char s
~~~~~~~~~~~~~~
mc: In function processString:
mc::: warning: passing argument of parsePipe from incompatible pointer type Wincompatiblepointertypes
piped parsePipestr strpiped;
~~~~~~~
char
mc::: note: expected char but argument is of type char
int parsePipechar str char strpiped
~~~~~~~~~~~~~
m
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started