Discussion:
[Bug-apl] Bug SVN 976
Peter Teeson
2017-07-02 21:21:38 UTC
Permalink
Thread_context.cc:73:4: error: 'sem_getvalue' is deprecated [-Werror,-Wdeprecated-declarations]
sem_getvalue((sem_t *)&pool_sema, &semval);
^
/usr/include/sys/semaphore.h:54:5: note: 'sem_getvalue' has been explicitly marked deprecated here
int sem_getvalue(sem_t * __restrict, int * __restrict) __deprecated;
^
1 error generated.
Peter Teeson
2017-07-02 21:46:03 UTC
Permalink
Hi JÃŒrgen:

I commented out line 92 in the previous error flagged in ScalarFunction.cc <http://scalarfunction.cc/>
Then did make clean && make and this error occurred.

Sorry I don’t understand
.
So I have restored line 92 in ScalarFunction and will wait for you to provide the correct fix
.
Post by Peter Teeson
Thread_context.cc:73:4: error: 'sem_getvalue' is deprecated [-Werror,-Wdeprecated-declarations]
sem_getvalue((sem_t *)&pool_sema, &semval);
^
/usr/include/sys/semaphore.h:54:5: note: 'sem_getvalue' has been explicitly marked deprecated here
int sem_getvalue(sem_t * __restrict, int * __restrict) __deprecated;
^
1 error generated.
Juergen Sauermann
2017-07-03 12:26:50 UTC
Permalink
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi Peter,<br>
<br>
thanks, fixed in <b>SVN 977</b>.<br>
<br>
/// Jürgen<br>
<br>
</font><br>
<div class="moz-cite-prefix">On 07/02/2017 11:46 PM, Peter Teeson
wrote:<br>
</div>
<blockquote
cite="mid:440B0216-D01A-49E5-B396-***@icloud.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div class="">Hi Jürgen:</div>
<div class=""><br class="">
</div>
I commented out line 92  in the previous error flagged in <a
moz-do-not-send="true" href="http://ScalarFunction.cc" class="">ScalarFunction.cc</a>
<div class="">Then did make clean &amp;&amp; make and this error
occurred.</div>
<div class=""><br class="">
</div>
<div class="">Sorry I don’t understand….</div>
<div class="">So I have restored line 92 in ScalarFunction and
will wait for you to provide the correct fix….<br class="">
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jul 2, 2017, at 5:21 PM, Peter Teeson
&lt;<a moz-do-not-send="true"
href="mailto:***@icloud.com" class="">***@icloud.com</a>&gt;
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">Thread_context.cc:73:4: error:
'sem_getvalue' is deprecated
[-Werror,-Wdeprecated-declarations]<br class="">
  sem_getvalue((sem_t *)&amp;pool_sema, &amp;semval);<br
class="">
  ^<br class="">
/usr/include/sys/semaphore.h:54:5: note: 'sem_getvalue'
has been explicitly marked deprecated here<br class="">
int sem_getvalue(sem_t * __restrict, int * __restrict)
__deprecated;<br class="">
   ^<br class="">
1 error generated.</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
<br>
</body>
</html>

Loading...