- To compile new releases from source, I use the following ./configure: ./configure --prefix=/usr --with-jobs=8 --without-oss --with-single-user –with-booby But I get warnings I don't understand: [paz@archpaz cinelerra-5.1]$ ./configure --prefix=/usr --with-jobs=8 --without-oss --with-single-user –with-booby ... configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: –with-booby ... What are the best ./configure options to use for compiling? - Another question: I noticed the following warning when compiling. It is a warning that repeats itself dozens of times before continuing: ... ./libavutil/mem.h:342:1: warning: ‘alloc_size’ attribute ignored on a function returning ‘int’ [-Wattributes] 342 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ ... Everything's working fine, so I don't think it's important. PS: Great idea the smooth button in the mask tool! PPS: Have you heard of the new -O1g instead of -O1?
В сообщении от Friday 05 July 2019 10:39:01 Andrea paz написал(а):
- To compile new releases from source, I use the following ./configure:
./configure --prefix=/usr --with-jobs=8 --without-oss --with-single-user –with-booby
But I get warnings I don't understand:
[paz@archpaz cinelerra-5.1]$ ./configure --prefix=/usr --with-jobs=8 --without-oss --with-single-user –with-booby ... configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: –with-booby ...
I think you used single "-" at last option instead of "--" (two "-") {- - with-single-user} {– with-booby}
What are the best ./configure options to use for compiling?
- Another question: I noticed the following warning when compiling. It is a warning that repeats itself dozens of times before continuing: ... ./libavutil/mem.h:342:1: warning: ‘alloc_size’ attribute ignored on a function returning ‘int’ [-Wattributes] 342 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ ...
Everything's working fine, so I don't think it's important.
PS: Great idea the smooth button in the mask tool! PPS: Have you heard of the new -O1g instead of -O1?
No, I can't find it in online docs .... https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options may be it expanded to -O1 -g ?
You're right. I fall for it all the time. As a copy/paste from a libreoffice document, he sometimes automatically fixes -- in - For the optimizations of gcc, I only read the following article: https://www.phoronix.com/scan.php?page=news_item&px=GCC-01g-Optimization-Pro...
participants (2)
-
Andrea paz -
Andrew Randrianasulu