Re: FreeBSD 5.4: Is it generally unstable?GCC broken for amd64 ? (was Re: FreeBSD 5.4: Is it generally unstable?)
KK == Kris Kennaway [EMAIL PROTECTED] writes: KK And what was wrong with casting your eye one line down, clicking on KK Message-ID and entering it in the search box at KK http://www.freebsd.org/search/search-mid.html Ah, there it is. Thank you! KK Is it really rendered in an invisible font for several people not to KK have seen it? Close; it is rendered only it what seems to be a table of contentes for the current page, but actually is a combination of a local toc and a liks collection. Not the most user-friendly device in a web page ... -- Rasmus Kaj --+-- [EMAIL PROTECTED] --+-- http://www.stacken.kth.se/~kaj/ Hiroshime 45, Tjernobyl 86, Windows 95 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
C++ problem in sys/socket.h
I got a mail from bento about a compiler problem in one of my ports, see [1], but I can't reproduce it on any of my -STABLE machines (which are about a month old). It seems that something has broken /usr/include/sys/socket.h for C++ somewhere between my last update (which is 1.39.2.3) and bento's, both in -STABLE and -CURRENT. Should it be fixed or is there a workaround? I did check through cvsweb, and sys/socket.h has some changes, but I don't see which of them is so harmful ... [1] http://people.freebsd.org/~[EMAIL PROTECTED] Please cc any answers to me, as I lag a bit on the stabe list ... -- Rasmus Kaj [EMAIL PROTECTED] - http://Raditex.se/~kaj/ \ Pro is to con as progress is to Congress \- http://Raditex.se/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: Any chance of changing struct member names in nameser.h?
"JK" == Jim King [EMAIL PROTECTED] writes: extern "C" { #include header_with_cpp_bogons.h } JK You're right, my bad. Son of a gun, I've used 'extern "C"' for gobs of JK stuff but I guess I never ran into C header files that had C++ reserved JK words. JK In that case, although it's considerably more work I'd take a look at JK writing some C wrappers around the offending stuff. You could write the JK wrappers such that they'd compile with the offending include file, and be JK callable from C++. Sounds tedious and time consuming, but it might be JK quicker than waiting for someone to fix the headers in question. Here's something that *might* work: extern "C" { // For function definitions #define class c_class #include bad_header.h #undef class } After this, you just use the struct as usual, but call the class field c_class in your source. The name shouldn't matter, since it's just an offset in the struct anyway ... Of course, it woulde be better to have the bad header fixed, but as Jim says, that probably will take some time ... If the bad header uses any other words that is reserved in C++, they can be handled in the same way ... -- Rasmus Kaj [EMAIL PROTECTED] - http://Raditex.se/~kaj/ \ Pro is to con as progress is to Congress \- http://Raditex.se/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
package maintenance (Re: ucd-snmp)
"JKH" == Jordan K Hubbard [EMAIL PROTECTED] writes: Let's take removing Samba as an example: 1. pkg_info | grep -i samba 2. wait for a long time. 3. pkg_delete samba-2.0.6 Why not pkg_delete sambaTAB ? JKH What I don't understand is why the next generation of package hackers JKH (and I salute anyone intrepid enough to go hacking on that evil code) JKH hasn't just *extended* the current feature set, [...] I went the other (also very 'Unix-esque', IMO) way: I let the pkg_* tools be as they are and extended the shell to make them convinient. Here's my tcsh completeion settings for it (since I wrote that, I have changed to zsh, but I haven't yet rewritten the completions for it) : complete pkg_info "p@*@F:/var/db/pkg/@" complete pkg_delete "p@*@F:/var/db/pkg/@" complete pkg_checksum "p@*@F:/var/db/pkg/@" The last one, pkg_checksum, is a simple perl script which uses pkg_info to get the checksums for all installed files and checks that they matches the actual files (I originally wrote it to find the file I had modified to make jade work for large files, not remembering that it was mentioned in the pkg_info for jade :-) ). -- Rasmus Kaj -- [EMAIL PROTECTED] - http://Raditex.se/~kaj/ \ Never try to outstubborn a cat -Lazarus Long \- http://Raditex.se/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message