About LINT

Hi, when I try to use the LINT tool to check the source file of my driver. It always return an error. That error is about the system header file. I don't know how to correct this error.
The error message is :
ucbcc: Warning: Option -YP,:/usr/ucblib/sparcv9:/opt/SUNWspro/WS6U2/bin/../lib/s
parcv9:/opt/SUNWspro/WS6U2/bin/sparcv9:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9 pas
sed to ld, if ld is invoked, ignored otherwise
"/usr/include/iso/limits_iso.h", line 54: macro SHRT_MIN redefines previous macr
o at "/usr/ucbinclude/sys/types.h", line 374
"/usr/include/iso/limits_iso.h", line 56: macro USHRT_MAX redefines previous mac
ro at "/usr/ucbinclude/sys/types.h", line 376
"/usr/include/iso/limits_iso.h", line 59: macro UINT_MAX redefines previous macr
o at "/usr/ucbinclude/sys/types.h", line 379
"/usr/include/sys/ucontext.h", line 85: syntax error before or at: sigset32_t
"/usr/include/sys/ucontext.h", line 85: cannot recover from previous errors
make: *** [obj64/driver_lyr.o] Error 10
What is wrong with my code? I want to build the b4-bit module on the sparc 64-bit kernel.
If I want to do this, do I need to include the inttypes.h header file?
Thank you .

The iPhone includes a one year warranty, and it doesn't matter how many times your iPhone has been exchanged under warranty. If the exchange under warranty provided includes a problem that cannot be resolved by any other means besides an exchange under warranty, it will be exchanged under warranty as well.
Accidental damage is not included under the warranty. The iPhone's warranty is a manufacturer's warranty, not insurance.
No one here can answer if your iPhone will be exchanged under warranty due to the accidental damage. Each warranty claim is on a case by case basis and even if someone here could see your iPhone, it is up to Apple and Apple only regarding an exchange under warranty for this. If it can be determined that your iPhone being dropped caused this, probably not, but there is only one way to find out for certain. The worst you can be told is no.

Similar Messages

  • Spurious lint warning about assigned variable never used

    I'm getting a lint warning "assigned value never used" (and another one "set but not used in function")
    that seems to be spurious. Test case included below. Can someone either confirm that this is a bug or explain to me why
    this warning is legitimate.
    marten 229% cc -V
    cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12
    marten 230% uname -a
    SunOS marten.isi.edu 5.10 Generic_127111-11 sun4u sparc SUNW,Sun-Blade-1000 Solaris
    marten 231% cat test93.c
    static long value;
    long get_value (void) {
    value++;
    return value;
    int main (int argc, char ** argv) {
    long k, val;
    value = 0;
    k = 0;
    while ((val = get_value()) != 47) {
    k++;
    return 0;
    marten 249% lint -u -m -x -Ncheck=%all test93.c
    argument unused in function
    (9) argc in main
    (9) argv in main
    set but not used in function
    (10) val in main
    .c file has no corresponding .h file
    /nfs/m_usr/dhollen/junk/test93.c
    assigned value never used
    val defined at test93.c(10) :: set at test93.c(14)

    The value of variable "val" is never actually used in function main.
    You could delete its declaration and the assignment to it in the while-loop header without affecting the program.
    Maybe you are thinking that the line
    while ((val = get_value()) != 47)
    uses the value of val. An assignment-expression has the type and value that is stored in the left operand, and is not an lvalue. The actual storage into the variable is a side effect that need not occur before the value of the assignment is used.
    Reference: C99 Standard, section 6.5.16 "Assignment operators", paragraph 3.
    In this example, the storage into val must occur before entering or skipping the loop body, but need not occur before evaluating the control expression. Variable val is therefore not used in the function.
    We can go further and notice that since storing into val is not an "observable side effect", a compiler is free to omit allocating the variable or storing into it.

  • My iPod 5th gen is no longer charging. I've cleaned out lint, switched chargers, and reset the device more times than I can count. I'm just wondering if there's anything I can do to fix it, or if it's a lost cause.

    I've had my iPod touch 5th gen for a little over 2 years now. a few weeks ago, I went to plug my iPod into the charger. After about 20 minutes I went to go get it so I could reply to texts and clear some notifications and I noticed that it was still at 20%. So I tried a different cord, different outlet, cleaned out any lint that might be in there, and reset the iPod more than once. Nothing worked. Eventually the problem corrected itself. But then it happened again a few days later. And then it happened just recently, and now it's happening again. In total it's happened 4 times, the first 3 times its corrected itself, but this time it's not. I'm not sure if there's anything else I can do, or if it's just a lost cause.

    Not Charge
    - See:    
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    If you can’t charge your iPhone, iPad, or iPod touch
    - Try another cable unless the cable you tried works with another device
    Iphone 5 lightning port charging problem - SOLUTION!
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • Dust / lint inside screen. How do I get it removed?

    I keep my phone in my pocket and after about a half a year there is lint inside the screen. There is no cracks in the screen or casing but some how lint seemed to work it's way between the glass and LCD screen. This isn't affecting the performance it's just annoying. Any solutions or estimates on what it would cost to be cleaned?

    You can't clean it. If the phone is still under warranty, you can make an appointment at the Genius Bar and they may replace the phone.

  • Lint -Ncheck: wrong warning [E_VALUE_TYPE] in Studio 6, 11, 12

    lint -Ncheck will produce an obviously wrong warning about an "inconsistent use of a value type as enum" if it sees the following simple piece of valid C code:
    struct AB {
        enum { a } enum_A;
        enum { b } enum_B;
    static void func(struct AB* ab) {
        ab->enum_A = a;
        ab->enum_B = b;
        if( ab->enum_A == a ) return;
    void main() {
        struct AB ab;
        func(&ab);
    }Can anyone reproduce this?
    # lint -s -errtags -Ncheck bug.c
    "bug.c", line 10: warning: inconsistent use of a value type as enum
            ab.enum_A defined at bug.c(14)  bug.c(10) :: bug.c(8) set as enum
            call stack:
                    main()                , bug.c(15)
                    func()                , bug.c(8)
            call stack:
                    main()                , bug.c(15)
                    func()                , bug.c(10)
    (E_VALUE_TYPE)
    [...]

    Thanks for reporting the issue.
    Filed it as 6637282. Should be visible through bugs.sun.com in 24h.
    regards,
    __Fedor.

  • What about this case?

    http://www.belkin.com/IWCatProductPage.process?Product_Id=512159#
    it seems like a pretty slim fitting case. i am just really intrested in a better grip. what about that one?

    Morning Alex,
    Thanks for using Apple Support Communities.
    For troubleshooting on this, take a look at this article:
    iPhone: Sound muffled or low from the speaker or when speaking into the mic.
    http://support.apple.com/kb/TS1631
    Resolution
    Check the following:
    Check the volume setting on your iPhone. You can adjust the volume by pressing the volume up and down buttons on the left side of the iPhone.
    If you are using a third-party iPhone case, make sure it is not covering the speaker, microphone, or top microphone. Try making some calls without the case to see if a caller can now hear you more clearly or play music to see if the speaker's volume is better.
    If you have not removed the plastic display film used for protection during shipment, either ensure that the microphone and speaker are not covered or remove the film completely.
    Check that the speaker, microphone mesh covers, and top microphone hole are not clogged with lint or other debris.
    If the speaker, microphone mesh, or top microphone (iPhone 4 only) appear clogged, please use a clean, small, dry, soft-bristled brush to clean them. To do this follow these instructions:
    Use the brush to carefully and gently brush the speaker and microphone mesh.
    Brush away from the 30-pin dock connector to avoid getting any debris into the dock connector.
    Hope this helps,
    Mario

  • IPhone provided screen protector has lint forming bubbles

    I'm using the screen protector that was provided with the iPhone 3g, the ATNT rep who put it on got some lint or dust between the screen and the film protector.
    Can this screen protector be cleaned with water or something else? It has rather alot of lint that's forming bubbles and I don't want to scratch the screen by using it with lint between the film and screen.
    Message was edited by: Phazuka

    I haven't seen another's recommendation of the "boxwave" or whatever, or I would have chk'd that out... but I did roll the dice on ZAGGS invisible Shield and just applied it. I only did the Front of my 3G and it went out without a problem in 3-4 minutes. No muss, no fuss! Looks great so far... most will indicate if their honest that there is some minor granularity shortly after applying it (similar to when you first have your car windows tinted professionally for 24hr's or so, but it gradually disappears completely. If I look very closely, after 15 min of applying it, I faintly see the granularity but I really have to turn it at a specific angle. If it still remains next wk, I return it no questions asked with a refund. Regardless what you decide to use, you definitely need something protecting the Front of you iPhone. A colleague of mine had his for only a few days and while on a business call with myself and another colleague, he placed his phone in his center console facing up... I got in the backseat and prior to our other colleague getting into the front seat, he inadvertently threw his set of keys out of his pocket into the center console, landing on top of the 3G and scratched it up pretty good, totally defacing about 1-1/2 inches in the center of the screen. I almost lost my lunch and it wasn't my iPhone. The keys I refer to were not just a random couple of keys, but about 5-6 keys with a token on it making them weigh about the same as 7-8 twenty-five cent pieces at a fairly rapid velocity. SO whatever protective cover you get, make sure it is durable enough to endure and repel whatever impact you expose it to in your daily tasks. Oh, he has since had to order a new 3G and I can assure you he didn't get it at the "subsidized" rate and APPLE CARE did not cover it even being less than a week after he bought it.

  • Knowledge about other languages

    I need to write a summary about difference between different languages, excluding Java, c cobol and so on. So does somebody know any website which introduce different kinds of programming languages?

    The best and most concise comparative description I ever saw of different languages associated them with cars and ran as follows:
    Since people are more comfortable with things they are familiar with, here is a description of various languages based on the types of cars they resemble:
    Assembler:     A formula-1 racing car. Very fast, but difficult to drive and expensive to maintain.
    FORTRAN:     A Ford Model-T. Once it was king of the road.
    FORTRAN-77:     A Ford Fairlane with automatic transmission.
    PL/1:          A big white Cadillac with power steering, power brakes, power windows, AM/FM stereo and fuzzy dice hanging from the windshield.
    Pascal:          A Volkswagen Beetle. Once popular among intellectuals.
    COBOL:          A delivery van. It's big and bulky, but it does the job.
    C:          A black Firebird, the all-macho car. Comes with optional seat belts (lint) and fuzz-buster (escape to assembler).
    APL:          A double-decker bus. Carries rows and columns of people to the same place, but only drives in reverse gear and is instrumented in Greek.
    Java:          You fill in the blanks...
    Doug

  • HT1320 iPod Nano 6th stops playing after about 1.5 minutes

    I listen to long poscasts. After about 1.5 minutes, the play stops. I've updated, reset. No success.
    Related, my headphones no longer control volume or pause.
    What should I try next?
    Thanks

    I read the answer on this forum.
    The jack receiver was cluttered with pocket lint. Use a needle to help you pick/tap/blow the stuff out.
    When it could not detect the headphone jack, the iPod turned off. Once the jack was detected (with the clean receiver) , everything good.

  • Question about refurbished imac

    This is for some people that might of got a referb imac.
    How was the condition when you got the imac and the mouse and kb?
    Also, did it come in the same box as a rev. b imac?
    thanks!

    Hi All,
    Well, I thought I'd let you all know how my experience so far with a refurbished iMac G5 went.
    It arrived today (Wednesday). I let it sit and warm up to room temperature for about 2 hours.
    Then, I looked it over, and set it up.
    It had some light scratches, but not too bad.
    It had a 1/8-inch (approx.) chip in the top left of the case in the clear plastic on the front edge facing me.
    The Keyboard looks like new, and was wrapped nicely.
    The mouse was packed loosely, and was marked-up. I was able to get the mouse to look nice with some cleaning.
    The LCD screen (a 20-inch model) had a couple of long marks on the surface that looked like surface scarrs. But, with some persistent scrubbing with lint-free CD-Cleaning cloths (no chemicals - fresh clothes), I was able to buff the scarr marks away.
    The computer and the accessories had several long dirt marks on them (around the ring in the stand on the rear, and some of the cables). The marks looked like they were caused by being dragged hard against something brown.
    And, the Ethernet port would only make contact with the cable when you pressed very hard against it with your finger (applying downward pressure).
    I called Apple, and their entire computer system was down, so they couldn't help me. So, they sent me to the local service center.
    I took the computer to him, and he says I need a new logic board. So, now I have to wait for it to come in. Meanwhile my computer is sitting at the store waiting to be fixed.
    So, I got to spend about an hour with my new machine before taking it to the shop for repair.
    It does look like it will be a nice machine. I can live with the chip in the case. I'd prefer it not to be there, but it is a used computer.
    The lady at Apple said she didn't know what they would do if anything. She said to ask the guy about it at the shop. He said they wouldn't do anything.
    But, the chip only stands out if you look right at it.
    At this point, I'd love to actually be able to use my machine though.
    Well, I guess we'll hope that it works when it comes back to me again. Here's hoping
    That's all for now. Just thought I'd post my observation since it appeared to be something people were curious about.
    Hopefully not all refurbs are like this. My only other used model that I purchased essentially "new" was a store demo unit that was being clearanced (an iBook SE 366). It was in absolutely perfect condition despite being about a year old, and having everyone man-handle it at the local store (Sears).
    But, I guess you take your chances when you buy something someone else owned previously.
    I hope my machine comes back quickly.

  • Shieldzone question (not about discoloration)

    I recently ordered the full shieldzone kit for my blackbook. I was wondering if this product can be reused or once I stick it, I'm stuck? I was just worried that if I accidently install it crooked I won't be about to fix it. Is this stuff basically just thick tape? I was also concerned that there may be marks left after the removal, any experiences? Either way 54 bucks is alot to pay for pre-cut tape... but probably a must-have with these fragile machines!

    You do have to work with it a bit to position it right. The routine is make sure you use a lot of the included spray lubicant. Spray the heck out of the ShieldZone. You can generally lift it up afterwards, if it is still wet. The risk of doing that is lint could creep in and a bubble will form at that spot.
    Take your time and keep it lubricated. Be that when you use the squeege, that you keep pressure on the opposite end, or the whole piece will travel on you.
    The kit I got included a bottom piece. I elected not to use that since I keep my MacBook on a lapdesk. That gave me extra material to work with. Using a large paper cutter, I trimmed 1/2" wide pieces to cover the left / right areas of the keyboard bezel.
    How do I like the stuff? Well, it is "OK". It is too rubbery in my opinion after using it a few days. But, that rubbery part of its design does keep it from getting scratched. Don't put it on your trackpad. You won't like it. But, do put it on your trackpad button.
    You might experiment with laminate from Office Depot, as recommended by another user here. Also, LCD screen sheets for iPods, GPS receivers, cell phones could be good candiates.

  • When I phone with my iphone 4 they don't hear me but I can hear them. What to do about that?

    When I phone with my iphone 4 they don't hear me but I can hear them. What to do about that?

    Try disconnecting the headphones and then adjusting the volume, does it say headphones?
    If it does, there might be something in the headphone jack, maybe lint, dirt, or something else in there.
    You can try getting it out by connecting the headphones 5-10x or spraying compressed air into the jack.
    If it doesn't say headphones or there isn't anything in there, try restarting or restoring the iPhone.

  • My nano 6th generation stops playing after about 30 seconds.

    My Nano (6th Generation has suddenly began to stop playing music after about 30 seconds. Pressing the play arrow starts it again but only for another 30 seconds. I have restored it to factory settings twice but the problem is still there.

    This happens because the nano is not detecting that your headset is inserted.
    First, push your headset jack in really hard. If you can see any silver at all of the headset jack when it is plugged in, it is not fully inserted.
    You should feel and hear a distinct "Click" when the headset is fully inserted.
    If even after all this you still have the problem, check to see if something has gotten stuck in the headset jack. I got some pocket lint in mine the other day and it cause this. Used some can'd air to get it out.
    i

  • Adobe Bridge in Photoshop - How to install Bridge and camera raw? And what is it all about?

    Hi everyone! I am actually in love with this adobe photoshop. I used PSCS2 before, but later on upgraded to CS4. But I feel tired in upgrading to CS5.
    One time, I found a tutorial in youtube about camera raw, and would really want to use it. But I was wondering how to install the camera raw. I believe camera raw is a plugin? so I downloaded the plugin here, installed it in my PS. I downloaded a file Camera Raw.8bi and paste it on my C drive - C:\Program Files\Adobe\Photoshop CS4\Plug-ins\File Formats.
    I now am very confused, how will I open it? I do not have adobe bridge!  After I installed the camera raw, I opened my PS. I clicked the file>then browse in bridge. I had an error, it's "error 2 photoshop11 undefined". Which is what I thought, I might have done something wrong with installing it.
    My question is, do you still need adobe bridge installed in order to use camera raw?
    If yes, how does it work? How am I suppose to open camera raw?
    If no, how am I going to open camera raw without bridge?
    And also, where will I download adobe bridge? I cannot find one here for CS4, only adobe bridge for CS5. I am wondering, is it okay to install adobe bridge CS5 and use it with my PS CS4?
    I badly need help!

    WebDAV (Web-based Distributed Authoring and Versioning) is a set of extensions to HTTP/1.1.
    The main difference from FTP as far as I can see is that it allows you to edit documents on a remote web server.
    WebDAV was used by the Apple server - MobileMe but is not generally supported by hosting services.
    Using WebDAV you can mount a directory locally. This was how iDisk worked on your Mac and you could drag files onto it to upload them to the remote directory.
    With WebDAV, a number of users can share a directory which is why its used in local networks but presents security problems when using a remote server.
    If you are into file sharing rather than publishing, Dropbox or its new rival SugarSync are more appropriate.

  • A few days ago i bought the macbook pro in a Providence. In late Summer i will come back to my Country - Ukraine. I would like to know about a tax for my laptop. Can i return tax? Through the TAX FREE or return in airport? What should i do?

    A few days ago i bought the macbook pro in a Providence. In late Summer i will come back to my Country - Ukraine. I would like to know about a tax for my
    laptop. Can i return tax? Through the TAX FREE or return in airport? What should i do?

    You need to talk with the tax authorities in the countries to which you traveled and that of your home country. We are all end-users liek you and not Apple agents.

Maybe you are looking for

  • Report to list Standard cost by component

    Hi, Is there a report or transaction that I can run to list all current material standard costs (by plant) and broken down by the components (material,labour, processing, etc) Thanks, Jograd

  • Time out error in receiver soap adapter

    Hi, My scenario is file to soap file with out BPM.I am using a currency converter wsdl. I am getting a time out error in soap receiver channel. Do i need to change the time out parameter?Where do i change that?Please help me to solve it out. Followin

  • Network connection timeout

    I recently installed the Iphone update 4 and lost all of my music because of it - it was not backed up. I need to try and get it back. So I right clicked on purchased and went to available downloads and then I got an error message saying "could not c

  • URGENT! Oracle driver problem.

    Hi all, i have an urgent question: I have a program that generates SQL code automatically where each data element is included in single quotes, equal if it's an integer, date or string value. If I try to insert this SQL code into an Oracle database u

  • Error 2131-So frustrated!

    Hello, I know this is a common question but I cannot seem to get anything to work. Help would be greatly appreciated. I am receiving the dreaded Error 2131 message when I try to burn a playlist to a CD, though it does the initialization fine. Here is